Ready to get started?Download WordPress


Page of Posts, all Categories (5 posts)

  1. emberstudio
    Posted 3 years ago #

    I'm trying to create a page template that displays posts, and I found the Codex explanation of how to do this here: http://codex.wordpress.org/Pages (scroll down to Page of Posts).

    The problem is that this solution only displays posts for 1 category. I'm looking for something that does the same thing, but for all categories.

    Anyone know how to do this?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try just removing 'category__in' => array($cat), from the $args array.

  3. for a whole list of possible query parameters, see

  4. digitoff
    Posted 3 years ago #

    I had a problem when I click on any page to open , it come out first some posts ,dificult to explain if you visit my web and open any page will see the problem . http://www.getdigitaloffers.com
    I hope anyone can help me to solve the problem.


  5. @digitoff
    your question is not related to the current topic.

    please start your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic