[Resolved] listing with excerpts and subcategory title
On the category page, I need to list all subcategories with post excerpts in that subcategory. I’m trying to do this without specifying subcategory id’s, so that new subcategories will automatically show.
I’ve tried all sorts of code, but I can either:
– show a list of subcategories (no posts)
– show all posts, but it repeats the subcategory name above each post, which is confusing.
The ideal looks like this, when on the category page (using category.php):
Fruit Category Page
apples (a subcategory of fruit)
– apple post one excerpt
– apple post two excerpt
bananas (a subcategory of fruit)
– banana post excerpt
I can specify the category id, but want the subcategories to list without having to put in id’s.
- The topic ‘[Resolved] listing with excerpts and subcategory title’ is closed to new replies.