• Hello,

    I have gotten my favicon to show up when you go to my main page of my domain (which is the main page of my WordPress installation). I added the meta tag needed, uploaded the favicon and everything is dandy. However, when you go to a specific post the favicon does not show up.

    I’m using the Favatar plugin and when I made a test comment, my favatar shows up (because it’s pulling from my domain/main page). However, if I do a pingback or trackback, the favatar does not show up (because it’s pulling from a post which does not have the favicon).

    I have looked all over my theme files and also the WordPress files for, what I’m assuming is, another header, like what is in the header.php file. I’m guessing I have to place my favicon meta tag someplace, but can’t find where.

    Does anyone have any suggestions? In the grand scheme of things, the favicon isn’t a big issue, but it’s really starting to bug me because I haven’t figured this out yet.

    Thanks in advance for any help you can give!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Either delete this line in your header (browsers automatically look for and use favicon.ico in your root directory):

    <link rel="shortcut icon" href="favicon.ico" >

    Or change it to this to specify that browsers need to look in your root rather than the current “folder”:

    <link rel="shortcut icon" href="/favicon.ico" >

    Thread Starter michchick

    (@michchick)

    That was totally it! Thanks so much for your help!

    I was using the first meta tag you posted, but tried the second and it worked. It just needed to know where my favicon was located.

    I have learned something today. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Favicon in Posts’ is closed to new replies.