This topic has 8 replies, 3 voices, and was last updated 8 years, 11 months ago ago by Jack Richardson
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!
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.
Hello,
Please see attached – it’s html code to add in the Head tag of each of my products.
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.
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>
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.
Thanks Eva!
Hello,
You’re welcome.
Best regards,
Jack Richardson.
Tagged: add code, head tag, meta keywords, themes, woocommerce, wordpress
The issue related to '‘Add code to Head Tag’' has been successfully resolved, and the topic is now closed for further responses