WordPress.org

Ready to get started?Download WordPress

Forums

How do I display a list of all posts in a single category on one subpage? (3 posts)

  1. podge
    Member
    Posted 7 years ago #

    Hi there,
    I'm new to wordpress, and still figuring it all out.
    I'm trying to set up a subpage which lists all posts / headings in a single category.
    I've looked around the forums, but haven't been able to find exactly what i'm looking for.
    I've created a template for the page, but don't know what code to insert to generate the list of posts for category id 6.
    Can anyone help me out?

    tks!

  2. kickass
    Member
    Posted 7 years ago #

  3. moshu
    Member
    Posted 7 years ago #

    Why Page (if you are talking about the WP "static' Pages)? The Categoriy Templates do exactly what you want to achieve - you just have edit out the call for the_content.
    http://codex.wordpress.org/Category_Templates

Topic Closed

This topic has been closed to new replies.

About this Topic