• Hey guys!

    Lets say I have a category with the ID “6”. I would like to display all sub-categories inside this category, and list their posts underneath. This will be put into a custom page template.

    The layout will look like this:

    SUBCATEGORY ONE:
    post one
    post two
    post three

    SUBCATEGORY TWO:
    post one
    post two
    post three

    So the subcategories will sort of be used as the “headers” for the posts. What code can I use to display it like this automatically?

  • The topic ‘List all subcategories and posts from a specific category?’ is closed to new replies.