Created
June 20, 2012 10:18
-
-
Save dragunoff/2959223 to your computer and use it in GitHub Desktop.
Wordpress wp-login.php tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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