Get/create the parent taxonomy by using shortcode in woocommerce?
Question
How would I get/create the parent taxonomy by using shortcode in woocommerce?
My product categories should be like:
– Food
— Fruits
— Healthy Fruits
— Organic Fruits
— Meat
— Pork
— Lamb
— Beef
For example, I would like to display “Fruits” when user at the “Healthy Fruits” product archive page.
0
shortcode, taxonomy, woocommerce
4 years
2020-05-22T00:10:36-05:00
2020-05-22T00:10:36-05:00 0 Answers
97 views
0
Leave an answer