I want to display a select box to switch to SUBCATEGORIES of the current CATEGORY when i’m on a category page.

I’ve the following category structure

Category 1
    Subcategory 1
    Subcategory 2
    Subcategory 3
Category 2
    Subcategory 1
    Subcategory 2

I’ve created a custom template using the category slug but i need to create a selectbox at the top of the template that loads the subcategory of the current category.
How do i achieve this?

Read more here: Display subcategories selectbox on each category page


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , ,

Wordpress related questions and answers: