Created
June 11, 2011 03:44
-
-
Save timwco/1020229 to your computer and use it in GitHub Desktop.
Custom Icon in Wordpress Admin
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 as_custom_logo() { | |
echo ' | |
<style type="text/css"> | |
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/myIcon.png) !important; } | |
</style> | |
'; | |
} | |
add_action('admin_head', 'as_custom_logo'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment