Support » Themes and Templates » favicon and Twenty-Twelve doesn't work as documented

  • I added the favicon.ico file to the wp-content/themes/twentytwelve/ directory on the Apache server as documented on this site. I’m not getting the result, though. Firefox’s Page Info shows no such media, and yes I tried clearing the browser cache.

    Looking at the instructions further describing the header.php modification, I see that the twentytwelve/header.php does not contain such a line, and the View Source option in Firefox shows me that no such link tag was generated. (I recall in the past that browsers used to probe for it anyway; I guess that is no longer the case?)

    So, is Twenty-Twelve not supporting favicon, or are we supposed to do it in some other way? Again let me point out that the default configuration is not matching what the instructions state.

    —John

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    is Twenty-Twelve not supporting favicon

    Servers support favicons – not themes. per se. And do not edit the Twenty Twelve theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes and make your changes to the child theme’s copy of header.php.

    Bear in mind that it can take 3-5 days for the favicon to start appearing.

    the default configuration is not matching what the instructions state.

    What “default configuration”?

    Bear in mind that it can take 3-5 days for the favicon to start appearing.

    Care to elaborate on this?

    esmi

    (@esmi)

    Forum Moderator

    There’s not much else to add. I’ve never fully understood the mechanism behind it but suspect it may be related to servers caching favicon data. Suffice to say that, even if you flush your browser cache and try hard refreshes, it can take days for the favicon to start appearing.

    esmi, the “theme” supports it (or not) by the inclusion of the link tag in the head section. The server doesn’t “support” it or not except by serving the file when asked.

    I found “the simplest favicon” plug-in that does nothing more than add the proper line to the head section. That worked, so again it has nothing to do with the Apache server other than to provide the file when asked.

    What “default configuration”: the configuration of WP upon downloading and installing. Specifically, the use of the Default Theme, Twenty-Twelve.

    —John

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘favicon and Twenty-Twelve doesn't work as documented’ is closed to new replies.