Return to Snippet

Revision: 43937
at April 3, 2011 18:23 by alp

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

Initial URL

Initial Description
Place in functions.php

Initial Title
Replace the default WordPress “W” logo in the administrative header with a custom alternative

Initial Tags

Initial Language