12 September 2011 date

Adding a favicon to a Wordpress web site

Creating the favicon

The favicon is a tiny (16x16 px) but precious icon that identifies your web site among the others. To create you can use free we resources as

Photoshop lets you save an image in .ico format if you install the proper plugin.

It’s better to use plain images, with few colors and effects: keep it simple.

To work in Wordpress, your favicon must be named “favicon.ico”.

Adding the favicon in Wordpress

With an ftp software upload your file “favicon.ico” in the directory of your template. Modify “header.php” file, adding in the HEAD section the following lines of code:

  <link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/favicon.ico" />

Save and you’ll see your new, tiny-shiny favicon.

  1. 10thumbs reblogged this from 2fooo
  2. 2fooo posted this