Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #913134
    Paulo Tebet
    Participant

    In order to get the best results possible for the favicon in multiple browsers and devices in multiple OSes I´ve used a site that gave me all the files and instruction on how to apply them to my site.

    The instructions mention to add the code below to the <head> section of my pages. I would imagine that is a way to only include this code in one place and have this working every where….

    Where would be that place in X ?

    Here is the instructions from my favicon site generator:

    Extract this package in the root of your web site. If your site is http://mysite.com, you should be able to access a file named http://mysite.com/favicon.ico.

    Insert the following code in the <head> section of your pages:

    <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png">
    <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32">
    <link rel="icon" type="image/png" href="/favicon-194x194.png" sizes="194x194">
    <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
    <link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16">
    <link rel="manifest" href="/manifest.json">
    <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#040f46">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png">
    <meta name="theme-color" content="#f4f5f8">
    #913506
    Prasant Rai
    Moderator

    Hello Paulo,

    Thanks for writing in!

    Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then you can copy the file “_header.php” which is under (“X/framework/views/global/”) into your Child theme’s respective location (“child-theme/framework/views/global/”) and then you can commit your edits within the <head></head>tags below <?php wp_head(); ?> to override the file.

    Thanks.

    #978877
    Paulo Tebet
    Participant

    Thanks a lot.

    #979605
    Friech
    Moderator

    You’re more than welcome, glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-913134 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>