Thursday, October 14, 2010

TutZone- Tutorials, Design news and Inspiration

TutZone- Tutorials, Design news and Inspiration

Link to TutZone

Change Admin Logo in WordPress Admin Panel

Posted: 14 Oct 2010 07:04 AM PDT


Ever wanted to change look and feel of your WordPress Admin panel? Here is one trick which you would definitely want, this will help you change the default Administrator logo in your WordPress admin panel.

Procedure:

Note: Do take backup of your theme before you try this.

01. Just Add below code in your functions.php file:

function custom_admin_logo() {
echo '<style type="text/css">
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/adminlogo.png) !important; }
</style>';
}
add_action('admin_head', 'custom_admin_logo');
Just put a image named adminlogo.png in your theme directory and you should be good.

This concludes this simple and useful tutorial. Hope you like it.

No comments:

Post a Comment