WP_Tax_Query Generator June 11, 2019 Public nick roberts Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone tax test $tax_query = array( array( 'taxonomy' => 'category', 'terms' => array( '1', ' 2' ), ), );