Skip to content

Instantly share code, notes, and snippets.

@dragunoff
Created June 20, 2012 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dragunoff/2959223 to your computer and use it in GitHub Desktop.
Save dragunoff/2959223 to your computer and use it in GitHub Desktop.
Wordpress wp-login.php tweaks
<?php
/**
* Login logo link and title
*/
add_filter( 'login_headerurl', 'custom_login_headerurl' );
function custom_login_headerurl() { return get_home_url(); }
add_filter( 'login_headertitle', 'custom_login_headertitle' );
function custom_login_headertitle() { return get_bloginfo( 'description' ); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment