Return to Snippet

Revision: 51327
at September 21, 2011 04:33 by RainyDayMedia


Initial Code
// CUSTOM ADMIN DASHBOARD HEADER LOGO  
  
function custom_admin_logo() {  
    echo '<style type="text/css">#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/logo_admin_dashboard.png) !important; }</style>';  
}  
add_action('admin_head', 'custom_admin_logo');

Initial URL
rainydaymedia.net

Initial Description
Change the small logo at the top of the dashboard: Just add to the bottom of your theme's functions.php file

Initial Title
Custom Admin Dashboard Header Logo

Initial Tags
php, wordpress

Initial Language
PHP