WP_Tax_Query Generator November 9, 2020 Public Jenish Mandalia Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone $post post taxanomy $tax_query = array( array( 'taxonomy' => 'post', 'terms' => '12', 'field' => 'term_id', ), );