[Resolved] categories and subcategories loop in a page template
This is probably a simple task but I’m struggling and could use a hand. I’ve got a post category with several subcategories. Posts will not appear in the main category but will appear in the subcategories. I’d like to dynamically generate, on a page, the title of each sub category followed by the posts in that sub category. I don’t know if I need to use get_the_category or wp_list_cats or something else. I’m also getting all twisted in my loop. Any help would be greatly appreciated.
- The topic ‘[Resolved] categories and subcategories loop in a page template’ is closed to new replies.