Twenty Ten - how to show posts from a category? (4 posts)

  1. Matt
    Posted 4 years ago #

    I've tried searching and codex. I've tried the examples on the codex. I've tried using $querystr and just query_posts.

    I'm using a custom template, just need everything from category 70 spat out, one title after another.

  2. Jay
    Posted 4 years ago #

    query_posts( 'cat=70&posts_per_page=-1' );

  3. esmi
    Forum Moderator
    Posted 4 years ago #

    See a page of posts. Amend to suit your needs.

  4. Matt
    Posted 4 years ago #

    both = Internal Server Error

    esmi, I changed the string twentyeleven to twentyten in case that mattered. Same result.

    I can spit out all posts with the following, but I just need that category.

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I just need from one category.

Topic Closed

This topic has been closed to new replies.

About this Topic