Need help about subcategories on a custom archive page!
-
Hello!
I have a BIG problem. I downloaded WooLentor, which allows me to make a custom shop and archive pages. However, there is no option to display subcategories, only products, which is a very big problem for me.
I have 5 categories. Only 1 of those categories contains 5 subcategories. One of those subcategories has 4 subcategories.
I found this shortcode on Stack Overflow: [product_categories number=”12″ parent=”ID”]
Main problems with the shortcode are:
-Since I made a custom archive page, it displays in every single category.
-When I open the subcategory that has other subcategories, nothing is displayed except categories from the shortcode.Is there a way to have this shortcode active only on a specific page?
I need it only to be active on ID 218.
If I open the subcategory, I would need to have ID 223 that’s showing.Is there a way to use both shortcodes, but to make them active only on a specific page? If I open ID 218, ID 223 shouldn’t be showing and vice versa.
Kind regards
The page I need help with: [log in to see the link]
- The topic ‘Need help about subcategories on a custom archive page!’ is closed to new replies.