[Resolved] What's the best way to add to header (favicons, etc..)

Home Forums Support What's the best way to add to header (favicons, etc..)

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #174676
    maggew

    Using Favicon Generator I want to juice up the header with all these goodies. In your opinion, what’s the best way to add these?

    Would you be using wp_enqueue_style() / wp_enqueue_sscript() or a swift plugin solution like Header and Footer Scripts? Perhaps using a child theme create a header?

    This is the code I wish to add to the header:

    <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="/android-chrome-192x192.png" sizes="192x192">
    <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
    <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="#000000">
    <meta name="apple-mobile-web-app-title" content="Vondelphia">
    <meta name="application-name" content="Vondelphia">
    <meta name="msapplication-TileColor" content="#ffffff">
    <meta name="msapplication-TileImage" content="/mstile-144x144.png">
    <meta name="theme-color" content="#000000">

    p.s. – i wanted to add <script> to the post title but it was stripped so it may sound / look funny

    #174723
    Tom
    Lead Developer
    Lead Developer

    You could add all of that into the wp_head hook in GP Hooks 🙂

    #175211
    maggew

    Thanks brothaman – YOU DA BEST!!

    TOM IS DA BEST!

    • This reply was modified 4 years, 9 months ago by maggew. Reason: forgot the gif
    #175357
    Tom
    Lead Developer
    Lead Developer
    #273472
    Jay

    that plugin hasn’t been updated for over 2 years. is there a more current plugin or mething?

    #273473
    Jay

    oops wrong thread. sorry. but question remains. 🙂

    #273502
    Tom
    Lead Developer
    Lead Developer
    #273523
    Jay

    i was looking to see if there was a more current plugin. I decided to just do it the old fashioned way and load it up on the site myself.

    Thanks Tom!

    #273559
    Tom
    Lead Developer
    Lead Developer
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.