wordpress categories and subcategories

I have a taxonomy(product-category) and i have a page template that shows all categories , i want that when click on a category if it has sub categories shows them in archive page and if don’t have sub categories shows the products related to the main categories.

Read more here:: wordpress categories and subcategories

Leave a Reply

Your email address will not be published. Required fields are marked *