WP_Tax_Query Generator June 12, 2018 Public Mathias Everson Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Cat In $tax_query = array( array( 'taxonomy' => 'category', 'terms' => 'cat_id', ), );