Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Custom post type w/ custom tax Query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'jetpack-portfolio' ),
	'post_status'            => array( 'publish' ),
);

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