Created
May 24, 2013 11:38
-
-
Save rezzz-dev/5642924 to your computer and use it in GitHub Desktop.
Snippet: WP Custom Login Logo
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
/** | |
* Custom admin login header logo | |
*/ | |
function jr_custom_login_logo() { | |
echo '<style type="text/css">'. | |
'h1 a { background-size: 201px 35px !important; background-image:url('.get_bloginfo( 'template_directory' ).'/images/logo.png) !important; }'. | |
'</style>'; | |
} | |
add_action( 'login_head', 'jr_custom_login_logo' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment