Skip to content

Instantly share code, notes, and snippets.

@codescribblr
Created February 13, 2014 21:41
Show Gist options
  • Save codescribblr/8984433 to your computer and use it in GitHub Desktop.
Save codescribblr/8984433 to your computer and use it in GitHub Desktop.
Custom login page changes for Wordpress
function custom_login_logo() {
echo '<style type="text/css">
.login h1 a { background-image: url("http://craveacademy.com/wp-content/uploads/wordpress-logo.png") !important; }
</style>';
}
add_action('login_head', 'custom_login_logo');
function custom_login_url(){
return 'http://www.craveacademy.com/';
}
add_filter('login_headerurl', 'custom_login_url');
function custom_login_logo_title(){
return 'Crave Academy';
}
add_filter('login_headertitle', 'custom_login_logo_title');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment