Advertisement
hmbashar

Dashboard Custom Logo

Jun 5th, 2015
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. //hook the administrative header output
  2. add_action('admin_head', 'my_custom_logo');
  3.  
  4. function my_custom_logo() {
  5.     echo '
  6.      <style type="text/css">
  7.      #header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.gif) !important; }
  8.      </style>
  9.    ';
  10.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement