Posted By

priyankvira on 10/07/11


Tagged

wordpress


Versions (?)

Add your own Logo to Wordpress Dashboard


 / Published in: PHP
 

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

  1. add_action('admin_head', 'my_custom_logo');
  2.  
  3. function my_custom_logo() {
  4. echo '
  5. <style type="text/css">
  6. #header-logo { background-image: url('.get_bloginfo('template_directory').'/images/your-logo.jpg) !important; }
  7. </style>
  8. ';
  9. }

Report this snippet  

You need to login to post a comment.