Posted By

krembo99 on 10/27/11


Tagged


Versions (?)

Wordpress - Change Login logo and login LINK


 / Published in: PHP
 

  1. function custom_loginlogo() {
  2. echo '<style type="text/css">
  3. h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
  4. </style>';
  5. }
  6. add_action('login_head', 'custom_loginlogo');
  7.  
  8.  
  9. <?php
  10. add_filter( 'login_headerurl', 'custom_loginlogo_url' );
  11. function custom_loginlogo_url($url) {
  12. return 'http://www.wpbeginner.com';
  13. }
  14. ?>

Report this snippet  

You need to login to post a comment.