Title: query_posts for future and published posts
Last modified: August 19, 2016

---

# query_posts for future and published posts

 *  [maorb](https://wordpress.org/support/users/maorb/)
 * (@maorb)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/query_posts-for-future-and-published-posts/)
 * 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

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [maorb](https://wordpress.org/support/users/maorb/)
 * (@maorb)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/query_posts-for-future-and-published-posts/#post-1321911)
 * Any suggestions?
 *  [bbx](https://wordpress.org/support/users/bbx/)
 * (@bbx)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/query_posts-for-future-and-published-posts/#post-1322164)
 * I’d like the exact same feature. Couldn’t find anything better than looping twice.
 * EDIT : **post_status=future,publish** seems to work.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘query_posts for future and published posts’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [post_status](https://wordpress.org/support/topic-tag/post_status/)
 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [bbx](https://wordpress.org/support/users/bbx/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/query_posts-for-future-and-published-posts/#post-1322164)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
