Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

query custom post type

// WP_Query arguments
$args = array (
	'post_type'              => 'case',
	'category_name'          => 'business',
	'pagination'             => true,
	'posts_per_page'         => '10',
	'ignore_sticky_posts'    => true,
);

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