Default Query
// WP_Query arguments $args = array( 'post_type' => array( 'post' ), ); // The Query $postquery = new WP_Query( $args ); // The Loop if ( $postquery->have_posts() ) { while ( $postquery->have_posts() ) { $postquery->the_post(); // do something } } else { // no posts found } // Restore original Post Data wp_reset_postdata();