Archived topic
including term description in hero element
3 replies · Started by Rebekah on May 7, 2021
Hello, I'm setting up heros for my WooCommerce product categories. I have the category title showing using the {{post_title}} but I can't figure out how to get the term description to show up. I've tried {{term_description}}, {{category_description}}, and {{description}}. Normally, in PHP I could call it using term_description() so I'm not sure what else to try. Can you assist? Is there another way to go about this?
Hi there,
Give this a shot:
https://generatepress.com/forums/topic/add-custom_field-description-in-category-header/#post-375162
I know that it will work for default WordPress category description so hopefully it will work for WooCommerce as well.
Thank you, Leo. It worked. I swear I searched the forum to see if it had been asked before. I'll dig a little harder next time. Thank you for your quick response!
It's a tough one to find!