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