Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query News

Query News

// WP_Query arguments
$args = array (
	'post_type'              => 'news',
	'pagination'             => false,
	'posts_per_page'         => '5',
);

// The Query
$query = new WP_Query( $args );