Posted By

jamiebrwr on 09/21/11


Tagged

header wordpress dashboard admin Logo


Versions (?)

Custom Admin Dashboard Header Logo


 / Published in: PHP
 

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.

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

Report this snippet  

You need to login to post a comment.