Wordpress: Customize Admin Login Logo


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



Copy this code and paste it in your HTML
  1. /**
  2.  * Customize Admin Login Logo
  3.  * http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
  4.  *
  5.  **/
  6. function myfunction_custom_login_logo() {
  7. echo '<style type="text/css">
  8. h1 a { background-image: url('.get_bloginfo('template_directory').'/images/custom-login-logo.png) !important; }
  9. </style>';
  10. }
  11. add_action('login_head', 'myfunction_custom_login_logo');

URL: http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.