• Resolved prodromoi

    (@prodromoi)


    I’m a complete newb to WordPress, so this may be a common question, but I can’t find the answer.

    I’ve installed WP onto my own site (hosted by my ISP), installed a theme (which I will likely change as I get things settled) and started to get the hang of things.

    How can I add a tab-icon (I think I’ve seen them referred to as ‘favicons’) to the blog I’ve set up? I know that I’ll need to specify where the icon is stored online, but what’s the simplest/best way of incorporating that into the blog?

    Thanks in advance.
    A

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The easiest way is to upload a favicon.ico into your root wordpress folder, and/or the root of your website. Most (if not all) modern browsers pick that up. I think even IE 6 does.

    Failing that, upload your favicon.ico and add the below code inside header.php for your theme:

    <link rel="shortcut icon" href="https://yourdomain.comfavicon.ico" type="image/x-ico"/>

    See also: https://en.wikipedia.org/wiki/Favicon
    and : https://www.amoswong.com/how-to-add-a-favicon-in-wordpress-blog.html

    for more info and advice ??

    Thread Starter prodromoi

    (@prodromoi)

    Thanks, that’s a great help. I hoped it would be simple but that was better than I could have hoped!

    Just putting it in the root directory didn’t work (I tried both the main website root directory, and the root directory for the blog) but it didn’t show up when refreshing, so I went for the second option.

    I used a relative location in the href in case I want to rename the directory or move it, so added this slight variation of your line:

    <link rel="shortcut icon" href="favicon.ico" type="image/x-ico"/>

    Many thanks.
    A

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Just remember that a relative location is relative to the page. If you put the icon in your theme folder, that should work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Newbie question regarding tab icons’ is closed to new replies.