custom logo in admin bar


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

Wordpress


Copy this code and paste it in your HTML
  1. function custom_logo() {
  2. echo '<style type="text/css">
  3. #header-logo { background-image: url('.get_bloginfo('template_directory').'/images/admin_page_logo.png) !important; }
  4. </style>';
  5. }
  6.  
  7. add_action('admin_head', 'custom_logo');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.