Created
January 17, 2012 19:07
-
-
Save robertcedwards/1628185 to your computer and use it in GitHub Desktop.
Custom Logo for Wordpress login screen
This file contains hidden or 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
function login_logo() {echo '<style type="text/css">h1 a { height:100%; background-image:url('.get_bloginfo('template_directory').'/images/logo.png)!important;}</style>';} | |
add_action('login_head', 'login_logo'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment