How to add Favicon to WordPress Statement Theme

Just had a devil of a time finding this information on Google so thought I would help those who search in the future.

Adding a .ico File To the WordPress Statement Theme

  1. add your .ico file to the root directory (that’s usually the “public_html” folder)
  2. add the same file to the statement theme root folder (i.e. yourwebsite/wp-content/themes/statement/favicon.ico
  3. add the .ico file to the statement theme’s images folder as well
  4. add this code between <head> and </head> in header.php:
<link rel="Shortcut Icon" href="<?php bloginfo('template_url');
?>/images/favicon.ico" type="image/x-icon" />

I don’t actually know if you really need steps 1 and 2 but it is working so i am not going to bother muck about. Feel free to let us know in the comments if these steps are superfluous.

There are no comments yet. Be the first and leave a response!

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Trackback URL http://www.squareeyes.com.au/2009/06/how-to-add-favicon-to-wordpress-statement-theme/trackback/

Switch to our mobile site