What I’m trying to do is use templates with the proper names (category-#.php where # is the cat ID) to cover each of several categories, but also their child categories. Child categories have their own cat ID numbers, so I’m having trouble making a child use it’s parent template.
For example:
————————-
ID Name
————————-
1 Mom Category
2 — Little Billy Sub-Category
5 — Little Suzi Sub-Category
3 Dad Category
4 — Baby Francis Sub-Category
————————-
In the above circumstances, I want to create two category specific templates–category-1.php (Mom Category) and category-3.php (Dad Category). These will apply to Mom and Dad, respectively. However, I also need Mom’s category-1.php to apply to her children, Little Billy Sub-Category (cat ID 2) and Little Suzi Sub-Category (cat ID 5). Then Dad’s category-3.php template covers the Dad Category (cat ID 3) AND Baby Francis Sub-Category (cat ID 4).
I’ve got multiple writers working on the system, each assigned to a parent cateogory. They will be adding and removing their sub-categories as needed, but must rely that their sub-categories and individual post pages will use the assets (template, graphics) of their main or parent category.
Any help on making this one work?
Thanks!