2

Is there any way to create our own admin theme rather than the default one. or do we have to override the default style sheets to get the desired look??

1

3 Answers 3

3

You'll want to add your own stylesheet, e.g.:

add_action('admin_head', 'custom_admin_style');
function custom_admin_style() {
    wp_register_style( 'adminStylesheet', plugins_url('adminstylesheet.css', __FILE__) );
    wp_enqueue_style('adminStylesheet');
}

You can then style the admin as you like. For UI changes beyond styling its not possible to answer within the scope of this question as there are too many things possible to say in an answer like this.

For an example of what's possible and some of the pitfalls and advantages of theming the admin area, see this article by Noel Tock:

http://www.noeltock.com/web-design/wordpress/wp-admin-is-an-experience-too/

enter image description here

1

It is generally recommended you don't customize the admin beyond basic css.

Reasons:

  • Most of the admin functions do not have hooks that you can tie into.
  • The admin UI changes during almost every release and majorly every few releases.
  • It's to much work to make compatible.
  • It's a good UI and people are used to it (also the dev team works hard on maintaining usability).
0

Yes, you definitely can create your own admin themes. The Executive Admin theme is a good example.

Update: I've just realised that this doesn't work with wordpress 3.3.1 (its designed for WP 3.2.1) - as the admin bar it uses at the top seems to conflict with the wordpress admin bar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.