Return to Snippet

Revision: 51330
at September 21, 2011 04:57 by jamiebrwr


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

                                

Initial Description
Once we login and are in the backend of WordPress, there is another small logo of WordPress displayed on top. It’s small but if you wish to change it, then add below code to the same functions.php file we created in above step.

Initial Title
Custom Admin Dashboard Header Logo

Initial Tags
header, wordpress

Initial Language
PHP