Custom Queries – Child Categories not showing up
category__and is exclusive, so it will not work for your application, if you use tax_query and setup your query as follows, it should work: $args = array( ‘tax_query’ => array( ‘relation’ => ‘AND’, array( ‘taxonomy’ => ‘category’, ‘field’ => ‘id’, ‘terms’ => $city, //’include_children’ is true by default ), array( ‘taxonomy’ => ‘category’, //may need … Read more