Favicon is a go!

The favicon is now working and yes that is me!

I was surprised to discover that the default theme did not have any kind of favicon importer.  A bit of research lead me to discover that I had to add the code myself.  That’s odd, no?  It seems like pretty basic functionality.

Anyway, for future reference, here’s how to install your own favicon:

In your Dashboard under Appearance, click on Editor.  Then on the right of the page, select “Header” (also known as “heading.php”).  Scroll down a bit and add this line to the code:

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

 

You can add it right after the line that starts with:

<link rel="stylesheet" ......>

Hit save.

Then you go to your website directory and find the wordpress folder where your themes are located.  Drop a favion.ico file in the folder for your active theme and you’re all set.

 

 

Be Sociable, Share!
This entry was posted in Web Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>