Add code to Head Tag - by tbijeux - on WordPress WooCommerce support

This topic has 8 replies, 3 voices, and was last updated 8 years, 10 months ago ago by Jack Richardson

  • Avatar: tbijeux
    tbijeux
    Participant
    December 26, 2015 at 15:51

    Hi there,

    I need to add specific code in the “head” tag of the product page, but I see no html code.

    Can you help?

    Thank you!

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    December 28, 2015 at 11:07

    Hello,

    Please show a screenshot where you want to add the code and which one.
    We don’t see it in private content.

    Regards,
    Eva Kemp.

    Avatar: tbijeux
    tbijeux
    Participant
    December 28, 2015 at 14:21

    Hello,

    Please see attached – it’s html code to add in the Head tag of each of my products.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 28, 2015 at 14:57

    Hello,

    Sorry, but we still don’t see any code.
    Please add it to public post, not to private, or write it in some file and give us a link to that file.

    Best regards,
    Jack Richardson.

    Avatar: tbijeux
    tbijeux
    Participant
    December 28, 2015 at 15:11

    Example:

    <head>
    <meta property=”og:type” content=”product” />
    <meta property=”og:title” content=”xxxx” />
    <meta property=”og:url” content=”xxxx/>
    <meta property=”og:site_name” content=”xxx” />
    <meta property=”og:price:amount” content=”98.00″ />
    <meta property=”og:price:currency” content=”USD” />
    <meta property=”og:availability” content=”instock” />
    </head>

    Avatar: Eva
    Eva Kemp
    Support staff
    December 29, 2015 at 11:17

    Hello,

    You need edit the file wp-content/themes/legenda/woocommerce/archive-product.php as described here http://jafty.com/blog/how-to-add-keyword-meta-tags-to-woocommerce-product-categories/ or try to use this plugin https://wordpress.org/plugins/add-meta-tags/ .

    Regards,
    Eva Kemp.

    Avatar: tbijeux
    tbijeux
    Participant
    January 1, 2016 at 15:40

    Thanks Eva!

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 4, 2016 at 15:18

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘Add code to Head Tag’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.