Customizing the admin
gyrus edited this page Jul 30, 2012
·
3 revisions
Check the configurable constants in functions.php
for globally activating or deactivating comments, categories, tags, etc. Setting any of these to false will remove their interface elements from the admin.
Add CSS for the admin to css/wp-admin.css
.
-
.warn-if-changed
- Add this to forms that should give the user a warning if they try to navigate away from the page with unsaved changes. Note that if your form has hidden fields that are changed via JS, you need to manually fire the change event for them for this to work.
To customize the login page, uncomment the hook for pilau_login_styles_scripts()
. Then edit css/wp-login.css
- example CSS for changing the logo is included.
Check out pilau_tinymce_buttons()
to change the default buttons available.
See also:
- http://wpengineer.com/customize-wordpress-wysiwyg-editor/
- http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference
- The code from http://randyjensenonline.com/thoughts/wordpress-custom-post-type-fugue-icons/ to add icons for custom post types is included - look for
pilau_cpt_icons()
.