Ready to get started?Download WordPress


[resolved] List posts in specific category (including child categories) (3 posts)

  1. wibbler
    Posted 6 years ago #

    I cannot for the life of me work out how to do this. I have a category called weblog, and subcategories. These subcategories will increase over time. I would like to list the last 5 posts found in "weblog" or any of its subcategories.
    I've searched and searched - I've found a plugin that shows just one category, a plugin that makes you specify the categories... Can anyone help?

  2. wibbler
    Posted 6 years ago #


  3. Sivar
    Posted 6 years ago #

    Use query_posts and as category parameter just set the main category. It will also display posts, which are just in subcategories. It works for me, that is ;).

Topic Closed

This topic has been closed to new replies.

About this Topic