WP_Tax_Query Generator January 18, 2017 Public Kirill Miniaev Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Custom Tax Query By Slug $tax_query = array( array( 'taxonomy' => 'revtypes', 'terms' => 'moms', 'field' => 'slug', ), );