Custom Admin Dashboard Header Logo


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

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


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');

URL: rainydaymedia.net

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.