WP_Tax_Query Generator July 12, 2018 Public Ruben Zuidervaart Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone ShopID – Tax Querry $tax_query = array( array( 'taxonomy' => 'ait-events', 'terms' => '$category_post', 'field' => 'slug', ), );