WP_Tax_Query Generator March 1, 2022 Public Michael Rodriguez Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone featured $tax_query = array( array( 'taxonomy' => 'category', 'terms' => 'featured', 'field' => 'slug', ), );