Return to Snippet

Revision: 51909
at October 7, 2011 01:46 by priyankvira


Initial Code
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/your-logo.jpg) !important; }
      </style>
   ';
}

Initial URL

                                

Initial Description
Add the following lines of code to your theme's function.php file.

Initial Title
Add your own Logo to Wordpress Dashboard

Initial Tags
wordpress

Initial Language
PHP