Forums

query_posts for future and published posts (3 posts)

  1. maorb
    Member
    Posted 2 years ago #

    Hi,

    I know there is a way to show schecduled post using
    query_posts('post_status=publish);

    But lets say I want one loop to display both publihed and scheduled posts, is there a way to join together two values of the post_status parameter into one query post loop?

    Thanks

  2. maorb
    Member
    Posted 2 years ago #

    Any suggestions?

  3. bbx
    Member
    Posted 2 years ago #

    I'd like the exact same feature. Couldn't find anything better than looping twice.

    EDIT : post_status=future,publish seems to work.

Topic Closed

This topic has been closed to new replies.

About this Topic