WP_Tax_Query Generator February 23, 2019 Public pooya sh Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone tax1 $tax_query = array( array( 'taxonomy' => 'category', 'terms' => 'chosen-piece', 'field' => 'slug', ), );