Using category templates on category children
-
Hi, I’m wondering if there is a way to have one template be used for a category and all it’s children. For example, I have one category called Portfolio (which is category 8) which has 4 children categories. I have a template file called
category-8.php
I want to work on all 5 categories (Portfolio + all it’s children). Right now it’s only working when I sort by Portfolio, but when I sort it by one of it’s children it’s loading up theindex.php
template. Is there any workaround without making 4 more template files?Thanks,
David
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Using category templates on category children’ is closed to new replies.