Support » Theme: Path » Favicon

  • In order to have a favicon I’ve uploaded the favicon to childtheme root directory. Is it ok to put this code on the header?
    <link rel=”shortcut icon” href=”childtheme/favicon.ico” />

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Sami Keijonen

    (@samikeijonen)

    If it’s working then it should be fine. But in which file you have put this line.

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

    Hi,
    in path theme, in header

    <head>
    <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php bloginfo( 'charset' ); ?>" />
    <title><?php hybrid_document_title(); ?></title>
    
    <!-- Mobile viewport optimized -->
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    
    <?php wp_head(); // wp_head ?>
    <link rel=”shortcut icon” href=”/childtheme/favicon.ico” />
    </head>

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Many thanks

    Theme Author Sami Keijonen

    (@samikeijonen)

    If that header.php is in child theme, then it’s ok.

    My child theme doesn’t have header!!!
    only functions and css, I use the original Path theme to insert
    Thanks in advance for your help
    JM

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