• 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.