• Hello,

    I customized my theme 404 page.

    In my child theme functions.php I added this snippet:

    function add_theme_favicon() {
    echo '<link rel="shortcut icon" href="' . get_bloginfo('stylesheet_directory') . '/images/favicon.ico" >';
    }
    add_action('wp_head', 'add_theme_favicon');

    In my child theme directory, I have the favicon.ico in the images folder and I have it (the favicon) uploaded to my HTML directory as well.

    I cleared the browser cash and tested this very well. Fav icon works on all pages except on IE for the 404 page.

    I can see the favicon on firefox and chrome for 404 pages.

    I would appreciate if anyone can help. Do I have to add any code to the 404 page to call the favicon?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘FAV icon doesn't appear on 404 page in IE11’ is closed to new replies.