Created
September 3, 2013 09:06
-
-
Save iagdotme/6421437 to your computer and use it in GitHub Desktop.
Change Login link in WordPress
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 | |
/* ------------------------------------------------------------------ */ | |
// Change Login Logo Link | |
// http://wp.tutsplus.com/tutorials/customizing-wordpress-for-your-clients/ | |
function change_wp_login_url() | |
{ | |
return "http://selectperformers.com/"; // OR ECHO YOUR OWN URL | |
} | |
add_filter('login_headerurl', 'change_wp_login_url'); | |
// CUSTOM ADMIN LOGIN LOGO & ALT TEXT | |
function change_wp_login_title() | |
{ | |
return "Select Performers"; // OR ECHO YOUR OWN ALT TEXT | |
} | |
add_filter('login_headertitle', 'change_wp_login_title'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment