I would like to add a custom logo to my entire blog network's dashboard. I went trough a recipe on smashing magazine and got this code:
//hook the administrative header output
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>
';
}
Where do I add it? I think that I should add it in functions.php
. But if so I should add the code to every theme in my mutlinetworks.
Does any one have idea to add it to the entire network? I should also able to set only for a particular sub and not to entire network If I change my mind in future :)
Thank you!