How to make a template for child categories?
-
Hi,
I’m trying to make a custom template for a bunch of categories that are children of one category. Let’s say I have a category (ID 5) and it has several children (IDs 6-12).
Using custom category templates, category-5.php displays only as an archive for category 5, while its children use standard archive template. Is there a way to create a “category-5-12.php” kind of file? Or do I have to duplicate the template to create separate files for each ID?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to make a template for child categories?’ is closed to new replies.