Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'product' ),
	's'                      => 'cor',
	'nopaging'               => false,
	'posts_per_page'         => '-1',
	'order'                  => 'DESC',
	'orderby'                => 'title',
	'tax_query'              => array(
		'relation' => 'AND',
		array(
			'taxonomy'         => 'product_cat',
			'terms'            => 'ricevimento',
			'field'            => 'slug',
		),
	),
);

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