Posted By

daveonkels on 01/02/10


Tagged

wordpress


Versions (?)

Who likes this?

11 people have marked this snippet as a favorite

jose_506
maxvee8
Xtraboy
BrianCoyDesign
achilles283
agilius
1983ron
ToddSmithSalter
voove
ringo380
faugustin


Customize the Logo of Your WordPress Login Page


 / Published in: PHP
 

URL: http://www.wprecipes.com/customize-wordpress-login-logo-without-a-plugin

  1. function my_custom_login_logo() {
  2. echo '<style type="text/css">
  3. h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) !important; }
  4. </style>';
  5. }
  6.  
  7. add_action('login_head', 'my_custom_login_logo');

Report this snippet  

You need to login to post a comment.