-
-
Save benjino/6050691 to your computer and use it in GitHub Desktop.
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
// changing the login page logo | |
function rgt_custom_dashboard_logo(){ | |
echo '<style type="text/css"> | |
h1 a { | |
background-image:url('.get_stylesheet_directory_uri().'/images/put-your-logo-filename-here.gif) !important; | |
} | |
</style>'; | |
} | |
add_action('login_head', 'rgt_custom_dashboard_logo'); | |
// changing the login page URL | |
function put_my_url(){ | |
return ('http://www.yourdomain.com/'); // putting my URL in place of the WordPress one | |
} | |
add_filter('login_headerurl', 'put_my_url'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment