Posted By

paulund on 06/15/11


Tagged

header wordpress favicon


Versions (?)

Add custom favicon to your Wordpress blog


 / Published in: PHP
 

  1. // add a favicon to your
  2. function blog_favicon() {
  3. echo '<link rel="Shortcut Icon" type="image/x-icon" href="'.get_bloginfo('wpurl').'/favicon.ico" />';
  4. }
  5. add_action('wp_head', 'blog_favicon');

Report this snippet  

You need to login to post a comment.