WordPress.org

Ready to get started?Download WordPress

Forums

Page of Posts, all Categories (5 posts)

  1. emberstudio
    Member
    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. alchymyth
    Forum Moderator
    Posted 3 years ago #

    for a whole list of possible query parameters, see
    http://codex.wordpress.org/Class_Reference/WP_Query#Parameters

  4. digitoff
    Member
    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.

    Regards,

  5. alchymyth
    Forum Moderator
    Posted 3 years ago #

    @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