• Hello,

    I’m running the latest version of wordpress and am looking for a way to show all posts belonging to the “news” category (or any other category) on a certain page. How can I accomplish this? Do I have start looking into page templates? The example on the page templates codex page lists all pages that have a custom field called category (which is confusing?)

    Any help would be great!

Viewing 5 replies - 1 through 5 (of 5 total)
  • It is sort of built in using the category tag.
    yoursite.com/category/news/

    that would list all your posts tagged with news.

    You can modify the template to show that category listing how you want.

    Thread Starter diego898

    (@diego898)

    This doesn’t work for me? I have a post categorized under news, but when I try mysite.com/category/news I get a 404 not found page

    Do you have permalinks active?
    You will need those active for it to take the url and return something.
    That is activated in the backend under settings.
    Something like the “Month and name” should be checked.
    Apply that and then give that a go.
    You have a url to the site I could see?

    Thread Starter diego898

    (@diego898)

    ahh ok that worked thanks! And how can I go about changing how that page displays those posts? Some thing dealing with page templates right?

    yes, working on the category template in your theme and the category loop if applicable.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page that shows all posts of a certain category’ is closed to new replies.