Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

e-landing-page

// WP_Query arguments
$args = array(
	'post_type'              => array( 'e-landing-page' ),
	'post_status'            => array( 'publish' ),
	'has_password'           => false,
	'nopaging'               => true,
	'posts_per_page'         => '100',
	'order'                  => 'DESC',
	'orderby'                => 'modified',
	'tax_query'              => array(
		array(
			'taxonomy'         => 'landing_page_stage_segment',
			'terms'            => '$purchase_status_segment',
			'field'            => 'name',
			'operator'         => 'IN',
			'include_children' => false,
		),
		array(
			'taxonomy'         => 'purchase_status_segment',
			'terms'            => '$purchase_status_segment',
			'field'            => 'name',
			'operator'         => 'IN',
			'include_children' => false,
		),
	),
);

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