Hi @tarmitage,
You can use category page hooks to show that shortcode. You can use this function
function zworthkey_woocommerce_taxonomy_archive_description($category) {
$category_id = $category->term_id;
echo do_shortcode('Your_code);
}
add_action( 'woocommerce_after_subcategory_title', 'zworthkey_woocommerce_taxonomy_archive_description');
Paste this code to your themes function.php file
hope that works
Thank you
Hey @zworthkey12vaibhav,
The solution from @tarmitage should work for you. I’ve also referenced a visual hook guide for the WooCommerce Shop, Category and Archive pages if you wish to change the position of the display shortcode.
https://www.businessbloomer.com/woocommerce-visual-hook-guide-archiveshopcat-page/
Hi,
We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, the above info was helpful!
If you have further questions, please feel free to open a new topic.
Thanks.