Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I was wondering whether there's a common way of customising the aspect of the admin panel. I know you can play with the css and js files but what I was looking for is some kind of "admin theme" like with drupal.

I´m asking so that you can personalize the admin panel while keeping your WP easily updateable.

Thanks in advance.

share|improve this question
    
Create a new admin look for wordpress kaformedia.com/site/… –  user16298 May 20 '12 at 22:57

2 Answers 2

up vote 3 down vote accepted

There is currently no way to create admin themes like Drupal. Here are some tips which cover most of the basic admin panel customization needs: http://www.cmurrayconsulting.com/wordpress-tips/customizing-wordpress-admin/

share|improve this answer
    
Thanks for the answer. What a shame though. WP won´t be a proper CMS till they solve this. –  ozke Sep 23 '10 at 11:02
1  
Anyone is welcome to contribute a patch... :) –  sorich87 Sep 23 '10 at 11:21

You can create a plugin which makes changes to the admin dashboard. All you need to do is create two functions, one to change the top level toolbar, one to change the sidebar. Then you can add some css to style them and that should get you in the right direction.

 // If you want to change top level admin/toolbar bar
 add_action( 'wp_before_admin_bar_render', 'my_admin_bar_render' );

 function my_admin_bar_render() {
   global $wp_admin_bar;
   // remove all top level toolbar items
   foreach ($wp_admin_bar->get_nodes() as $node) {
     $wp_admin_bar->remove_node($node->id);
   }
   $wp_admin_bar->add_menu( array(
     'parent' => false,
     'id' => 'my-logo',
     'title' => '<img src="http://example.com/logo.png" alt="Blavatar" class="blavatar" height="16" width="16">',
     'href' => "http://example.com"
   ));
   $wp_admin_bar->add_menu( array(
     'parent' => false,
     'id' => 'my-toolbar-1',
     'title' => 'Some toolbar item',
     'href' => "http://example.com"
   ));
}
// If you want to change the side bar
 add_action( 'admin_menu', 'my_admin_menu' );
 function my_admin_menu() {
   global $menu;
   $menu = array(
     array(
       'My menu one',
       '',
       'http://example.com',
       '',
       'my-menu-class',
       '',
       'div'
     )
  );
}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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