post per page wp_query code example Example: wp_query post per page $query = new WP_Query( array( 'posts_per_page' => 3 ) );