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  antony.roberts@yahoo.co.uk 1 year, 2 months ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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

    http://4verspain.com
    #92463

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


    #92487

    I’ve done that but still not appearing?

    #92524

    angieatc
    Participant

    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

    #92650

    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 – https://wordpress.org/plugins/search.php?q=favicon


    #92708

    Hawkeye
    Participant

    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.

    #92793

    Many thanks for all your help, much appreciated

    #92854

    andym119
    Participant

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

    mywebsite.com/wp-config/themes/my-theme/images/favicon.ico

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

    • This reply was modified 1 year, 2 months ago by  andym119.
    • This reply was modified 1 year, 2 months ago by  andym119.
    • This reply was modified 1 year, 2 months ago by  andym119.
    • This reply was modified 1 year, 2 months ago by  andym119.
    #93038

    dev
    Participant

    In functions.php of the theme ….

    add_filter( ‘genesis_pre_load_favicon’, ‘custom_favicon_filter’ );
    function custom_favicon_filter( $favicon_url ) {
    return ‘http://www.mydomain.com/xxxx/xxxx/favicon.ico';
    }
    

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

    #93060

    webgurusana
    Member

    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=”http://mywebsite.com/wp-content/uploads/youricon.ico”> in the header section.


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

    #93168

    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.