Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2016 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/3a1465ab80c3ab3b0e6c to your computer and use it in GitHub Desktop.
Save anonymous/3a1465ab80c3ab3b0e6c to your computer and use it in GitHub Desktop.
<?php
// In den Administrativen Header einhaken - Eigenes Logo für den Dashboard-Bereich von WP
add_action('admin_head', 'ah_custom_logo');
function ah_custom_logo() {
echo '
<style type="text/css">
#header-logo { background-image: url('.get_bloginfo('template_directory').'/images/custom-logo.png) !important; }
</style>
';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment