WordPress.org

Ready to get started?Download WordPress

Forums

Showing posts from a certain category?? (2 posts)

  1. cthan323
    Member
    Posted 6 years ago #

    Hello everyone,

    How do I retrieve posts from a specific category within a page?

    For example, I called wp_list_pages(). Now I want one of these pages to display posts from a specific category.

    It's similar to http://mydomain.com/?cat=# but I want to be able to get to that page from the link in wp_list_pages().

    Is there a template tag that outputs posts from a certain category?

  2. moshu
    Member
    Posted 6 years ago #

    How do I retrieve posts from a specific category within a page?
    You don't.
    Don't mix Pages and posts.
    Use Category_Templates.

Topic Closed

This topic has been closed to new replies.

About this Topic