Skip to content

Instantly share code, notes, and snippets.

@schalkburger
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schalkburger/1ee322fc5578ec0e5db3 to your computer and use it in GitHub Desktop.
Save schalkburger/1ee322fc5578ec0e5db3 to your computer and use it in GitHub Desktop.
Custom login logo for Wordpress
function my_custom_login_logo() {
echo '<style type="text/css"> h1 a { background-image:url('.get_bloginfo('template_directory').'/images/logo-login.gif) !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