Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Meta description on Woocommerce product category page

Home / Forums / Virtue Theme / Meta description on Woocommerce product category page

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
December 18, 2016 at 1:35 pm

Hi,
I have a short question. I use WPSeo and it’s not possible to define meta tags for categories there. Now the description of the first product is used as a meta description.

I’d like to set custom descriptions via functions.php in a child theme, works great with og-tags already (using if(is_product_category( ‘porzellan’ )) etc)
When I try the same with meta tags, it dosen’t work and I dont know why (even if WPSEO is deactivated, in that case there’s no metatag at all).

Can you tell me a simple way to add meta tags via functions.php? Is there even an option in the theme somewhere?

Thanks a lot in advance!

  • The forum ‘Virtue Theme’ is closed to new topics and replies.