Created
November 12, 2012 22:39
-
-
Save benklocek/4062520 to your computer and use it in GitHub Desktop.
Wordpress Functions: 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 logo for child theme * Don't forget /img/custom-login-logo.png :) | |
function bracia_custom_login_logo() { | |
echo '<style type="text/css"> | |
h1 a { background-image: url('.get_bloginfo('stylesheet_directory').'/img/custom-login-logo.png) !important; } | |
</style>'; | |
} | |
add_action('login_head', 'bracia_custom_login_logo', 11); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment