Open functions.php and search for “Tip02”. Add favicon.ico file to the theme’s /images folder. And uncomment next line like this:
echo "\n"; echo '<link rel="shortcut icon" type="image/x-icon" href="'.get_template_directory_uri().'/images/favicon.ico" />'; echo "\n";
To see favicon in action, sometimes you have to purge the cache of your web browser.
Hi Tomas – thanks for your reply.
I’m sorry to be a pain, but this is my first website, I had already read the tip on your site and seen it in the theme’s code but unfortunately and it’s still a bit unclear.
Where do I find the theme’s images folder to upload the favicon into? And how do I do this?
I understand how to uncomment the code and to clear my browser’s cache, but is it really just as simple as that?
Would you mind explaining the process through in a little more detail for a novice like myself?
Thanks.
Hi Tomas – thanks for your reply.
I’m sorry to be a pain, but this is my first website, I had already read the tip on your site and seen it in the theme’s code but unfortunately and it’s still a bit unclear.
Where do I find the theme’s images folder to upload the favicon into? And how do I do this?
I understand how to uncomment the code and to clear my browser’s cache, but is it really just as simple as that?
Would you mind explaining the process through in a little more detail for a novice like myself?
Thanks.
In this case I recommend you to use a plugin:
http://wordpress.org/plugins/all-in-one-favicon/
This way it’s going to be easier for you. If you enabled that functions.php line, comment it out, so there would be no conflict with the plugin.
Don’t forget to share your work results 🙂