
Add the following code to your WordPress theme’s function.php file, or a functionality plugin to customize the WordPress Dashboard Logo.
- /images/custom-logo.gif where /images/custom-logo.gif is the location of your themes images files and your logo filename.
//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>
';
}
Share Your Two Cents