Changing the WordPress Admin Logo

One of the most useful snippets I’ve found gives you the ability to change the WordPress admin logo.

/**
 * Custom admin logo & remove thank you footer
 */
add_action('admin_head', 'adminLogo');
function adminLogo() { 
    echo '<style type="text/css">
		#header-logo { background-image: url('.get_bloginfo('url').'/LOGOIMAGE.png) !important; }
		#footer-left { display: none; }
    </style>';
}

*Note: The logo image should be 30 x 31 pixels in order to display properly

Share
  • Facebook
  • Twitter
  • MySpace
  • LinkedIn
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Digg
  • Tumblr
  • email