how to add a favicon

Community Forums Forums General Discussion how to add a favicon

This topic is: resolved

This topic contains 10 replies, has 7 voices, and was last updated by 1 year, 9 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
  • #92457

    Can anyone tell me what code Iuse and where I place it to add a favicon. I know it goes in the header but where will I find it

    many thanks

    Just copy your favicon.ico file into ‘images’ folder of your child theme folder. Your new favicon will start appearing automatically.


    I’ve done that but still not appearing?



    Make sure it is an .ico file when you replace it and you might have to clear your cache. For me at times it can take a day or 2 for it to update correctly.

    My design site, Hill Springs Designs


    Yup, clear cache. Also, you may open different browser to check website favicon / use proxy site to pull latest website content. Lastly, you may use favicon plugin –



    Recently replaced my own facivon.ico and it took FOUR DAYS for the change to show up in my browser, and that’s after clearing the cache.

    I’ve seen it take longer, so don’t be surprised if there’s a lag. If you’ve got the file itself in the right place, it should take, albeit at a snail’s pace.


    Many thanks for all your help, much appreciated



    Sometimes it shows straight away if you type the direct url path to your favicon, example:

    you can also try removing the cache of your browser and reboot the browser.

    • This reply was modified 1 year, 9 months ago by  andym119.
    • This reply was modified 1 year, 9 months ago by  andym119.
    • This reply was modified 1 year, 9 months ago by  andym119.
    • This reply was modified 1 year, 9 months ago by  andym119.


    In functions.php of the theme ….

    add_filter( ‘genesis_pre_load_favicon’, ‘custom_favicon_filter’ );
    function custom_favicon_filter( $favicon_url ) {
    return ‘';

    (Upload the .ico file to somewhere on the site and have return link show it.)



    To add a favicon :-

    1.Upload your image in the .ico format at the wp-content/uploads directory/youricon.ico
    2.Add <link rel=”icon” href=”/favicon.ico” type=””> in the header section.

    Sana Sattani
    WordPress Expert , Conceptual Website Designer , SEO and SMO Specialist.


    Many thanks for taking the time and trouble to respond, truly appreciated

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘how to add a favicon’ is closed to new replies.