Created
January 15, 2013 09:27
-
-
Save michaeloeser/4537489 to your computer and use it in GitHub Desktop.
Change Admin 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_admin_logo() { | |
echo '<style type="text/css"> | |
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/admin_logo.png) !important; } | |
</style>'; | |
} | |
add_action('admin_head', 'custom_admin_logo'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Don’t just change your login logo, change your admin logo as well. Make sure you add your admin_logo.png to your images folder.