Skip to content

Instantly share code, notes, and snippets.

@michaeloeser
Created January 15, 2013 09:27
Show Gist options
  • Save michaeloeser/4537489 to your computer and use it in GitHub Desktop.
Save michaeloeser/4537489 to your computer and use it in GitHub Desktop.
Change Admin Logo
<?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');
?>
@michaeloeser
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment