Hi Tom, got it working through functions.php and a new element – don’t know why it gave me issues.
What I did encounter was that {{post_terms.taxonomy}}
on the page hero gives me:
Recoverable fatal error: Object of class WP_Error could not be converted to string in /app/public/wp-content/plugins/gp-premium/elements/class-hero.php on line 848
The title, author and other template tags work just fine.
But okay, solved it with {{post_terms.product_cat}}
, probably because it was a product π