Posted By

xavsio4 on 07/06/11


Tagged

wordpress functions


Versions (?)

Wordpress Add favicon to blog


 / Published in: PHP
 

Can also be done in your pre built theme

  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.