Support » Themes and Templates » Category Template Hierarchy Issues

  • Resolved Mav3000

    (@mav3000)


    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_3

    I 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!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Category Template Hierarchy Issues’ is closed to new replies.