0

I'm new to building wordpress themes, I would like to create a template for all sub categories.

I have category.php and I want that to be used for only upper level categories (which is working so that's sorted out)

I would like to create a separate template for sub categories of any parent, is there a specific name I should name it or do I have to write a function ?

Please let me know, I have been searching and haven't found anything :(

0

Solved via: Different template for subcategories

basically I need to create another page and assign it in functions.php using category template filter.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.