Posted By

screamwork on 05/17/11


Tagged

wordpress


Versions (?)

Changing the WP Login Logo


 / Published in: PHP
 

  1. // login page logo
  2. function custom_login_logo() {
  3. echo '<style type="text/css">h1 a { background: url('.get_bloginfo('template_directory').'/companylogo.png) 50% 50% no-repeat !important; }</style>';
  4. }
  5. add_action('login_head', 'custom_login_logo');

Report this snippet  

You need to login to post a comment.