Title: Query
Last modified: August 31, 2016

---

# Query

 *  [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * (@bdbolin)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/query-12/)
 * Trying to build a query that selects **all posts**, and **only one page**. How
   hard can that be? Harder than I realized… Any ideas?
 * I have this:
 *     ```
       $post_query = array(
       		'post_status' => 'publish',
       		'post_type' => array( 'post', 'page' ),
       		'posts_per_page' => 10,
       		'order' => 'DESC'
       	);
       ```
   
 * That is grabbing all posts, and all pages. I need to filter down to just one 
   page.

The topic ‘Query’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Red Deer Web Design](https://wordpress.org/support/users/bdbolin/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/query-12/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
