Skip to content

Instantly share code, notes, and snippets.

@leanda
Created February 21, 2013 11:00
Show Gist options
  • Save leanda/5003937 to your computer and use it in GitHub Desktop.
Save leanda/5003937 to your computer and use it in GitHub Desktop.
WordPress: Custom Logo Login
/*--- Custom Login Image ---*/
function my_custom_login_logo() {
echo '<style type="text/css">
h1 a {
background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png) !important;
}
</style>';
}
add_action('login_head', 'my_custom_login_logo');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment