• Hello WordPress aficionados,

    this morning I created a “favicon.ico” from a logo, then

    1. I uploaded it via FTP on “htdocs/wp-content/themes/x2” directory of the X2 –Themekraft theme I’m using

    2. followed the WordPress instructions page

    3. went to the “header.php” file of X2 – Themekraft theme, where I found this line of code in between the <head> </head> tags:

    <?php do_action('favicon') ?>
    
    <strong>4. </strong>…and whatever I do - replace that line or add this suggested instructions line:

    <link rel=”shortcut icon” href=”<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico” />

    the favicon does NOT appear.

    what should I try more ?

    ps. I noticed that into the Templates folder of the X2 theme there’s also a “header-blank”.php file: should I change that one too ? or what else ?

    Thank you, best regards

    Finfab

Viewing 2 replies - 1 through 2 (of 2 total)
  • Have you tried just placing it in the /htdocs folder – that’s where many browsers will look by default for a favicon, without having to add anything to your theme.

    Thread Starter Finfab

    (@finfab)

    Hello,

    yes, I tried everything I could: the “favicon.ico” was previously put into the /htdocs directory already.
    Nothing of nothing. It doesn’t read it, not Safari, nor Firefox.

    Sorry for the messy layout of my previous message – the right link to the instructions page is this:

    http://codex.wordpress.org/Creating_a_Favicon

    Thanx

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Favicon epic failure ?’ is closed to new replies.