Created
March 8, 2012 01:18
-
-
Save justinwhall/1997787 to your computer and use it in GitHub Desktop.
PHP: Wordpress | replace defualt WP login logo
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
//Custom Login image | |
add_action("login_head", "my_login_head"); | |
function my_login_head() { | |
echo " | |
<style> | |
body.login #login h1 a { | |
background: url('".get_bloginfo('template_url')."/images/newlogo.png') no-repeat scroll center top transparent; | |
height: 152px; | |
width: 330px; | |
} | |
</style> | |
"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment