Posted By

alp on 06/06/11


Tagged

wordpress admin functionsphp


Versions (?)

Wordpress: Customize Admin Login Logo


 / Published in: PHP
 

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

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

Report this snippet  

You need to login to post a comment.