Custom Admin Dashboard Header Logo


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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');
  7.  

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.