Created
February 3, 2013 01:01
-
-
Save eugenoprea/4700024 to your computer and use it in GitHub Desktop.
How to Change the WordPress 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
/** Change the WordPress Login Logo */ | |
add_action('login_head', 'eo_login_logo'); | |
function eo_login_logo() | |
{ | |
echo | |
'<style type="text/css"> | |
login h1 a | |
{ | |
background-image: url(' . get_bloginfo('template_directory') . '/images/login-logo.png) !important; | |
} | |
</style>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment