WP_Tax_Query Generator February 27, 2019 Public Russell Jamison Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone basic tax $tax_query = array( array( 'taxonomy' => 'post_tag', 'terms' => 'test', 'field' => 'name', ), );