Custom Admin Login Header Logo


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



Copy this code and paste it in your HTML
  1. // CUSTOM ADMIN LOGIN HEADER LOGO
  2.  
  3. function my_custom_login_logo()
  4. {
  5. echo '<style type="text/css"> h1 a { background-image:url('.get_bloginfo('template_directory').'/images/logo_admin.png) !important; } </style>';
  6. }
  7. add_action('login_head', 'my_custom_login_logo');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.