Created
April 24, 2012 15:27
-
-
Save baczoni/2480609 to your computer and use it in GitHub Desktop.
Wordpress: Custom 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
//Custom admin logo - 30px wide, 31px high transparent gif. Header background color: #464646 | |
add_action('admin_head', 'my_custom_logo'); | |
function my_custom_logo() { | |
echo ' | |
<style type="text/css"> | |
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.gif) !important; } | |
</style> | |
'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment