• Skip to main content
  • Skip to primary sidebar

Purely Supplemental Hub

Just The Tech, News, and Info We Deem To Post

  • WordPress
  • Marketing
  • Business
  • Computing
  • Security
  • Publicity
  • Resources
  • WHATEVS

Adding a Custom WordPress Dashboard Logo

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>
';
}

Filed Under: Code Snippets Tagged With: Code, Dashboard, WP Logo

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

© Copyright Jack Alltrade & Associates 2026 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates