Advanced AND tax_query in sidebar with 2 taxonomies
You are using get_the_term_list which generates an HTML string of taxonomy terms associated with a post and given taxonomy. Try instead to feed the terms input parameters of the WP_Query with an array like: ‘terms’ => array( 11, 22, 33 ), or ‘terms’ => array( ‘term1’, ‘term2’, ‘term3’ ), In your code example you have … Read more