Last active
August 29, 2015 14:15
-
-
Save schalkburger/6ebca813696f0d240423 to your computer and use it in GitHub Desktop.
Wordpress 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
<?php | |
function custom_login_logo() { | |
echo '<style type="text/css"> | |
h1 a {background-image: url('.get_bloginfo('template_directory').'/img/login_logo.png) !important; } | |
</style>'; | |
} | |
add_action('login_head', 'custom_login_logo'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment