Category Template Hierarchy Issues
-
Hi all,
I am creating a theme from scratch for a website with different sections – which I’m using Categories to seperate:
>News
>Events
>Community
>>Community_Group_1
>>Community_Group_2
>>Community_Group_3I have a category template for News and Events (category-news.php and category-events.php) which work fine.
I’ve also got a category template for Community (category-community.php) which works fine – for the Community Category.
Is there a way to get the Community_Group category pages to use ‘category_Community.php’ too? They are defaulting to category.php.
I plan to add another category section for other posts in the future so don’t want to tailor category.php just to community_groups categories.
An example post could have the categories ‘Event’ ‘Community’ and ‘Community_Group_1’ for example – but still will not use category-community.php
Any help would be appreciated on how best to deal with this!
- The topic ‘Category Template Hierarchy Issues’ is closed to new replies.