I’d like to query for a taxonomy. I’ve tried:
array('post_type' => 'listing', 'tax_query' => array( array( 'taxonomy' => 'community', 'field' => 'slug', 'terms' => 'denver') ) );
post_type=listing&tax_query=array( "taxonomy" => "community", "field" => "slug", "terms" => "denver")
The second attempt at least gives me listings, while the first returns posts. Is something getting stripped out as I use arrays? Could be that my query is just wrong, but I don’t think so.
Same results in builder and post grid template.
- You must be logged in to reply to this topic.