Category/Subcategory Display Issues
-
Hey Folks,
I’ve been searching for hours to solve this one, but just can’t find a hack to get it right!
I’d rather not use a plugin for this, but simply hard code it into my template files.
Here’s the scenario:
My categories have subcategories. All posts are in the sub categories with the exception of a few.
I’d like my archives pages for categories to show subcategory links, which link to the subcategory page. I want a list of posts only to display on the subcategory page, unless the parent category has posts in it, which would be displayed on the category page.
Example:
1st category page:
CATEGORY 1
—–SUB CAT 1
—–SUB CAT 2
—–SUB CAT 3
(only show posts here if they are categorized by the parent category)Click on a sub category and get its page with posts:
SUB CAT 1
——POST 1
——POST 2
——POST 3
etc.
(show posts of SUB CAT 1 here)Hopefully that makes a little bit of sense!
Dave
- The topic ‘Category/Subcategory Display Issues’ is closed to new replies.