Hello Bill,
Please double check your query string first:
post_type=hps-group-content&order=ASC&orderby=meta_value&meta_key=hpsgc_content_order &tax_query[0][taxonomy]=hps-group&tax_query[0][field]=name&tax_query[0][terms][]={{dc:term:name}}&tax_query[0][operator]=IN&tax_query[relation]=AND
This is not the proper query string. I am also seeing a blank space character between hpsgc_content_order
and &tax_query
. You will have to compose a query argument first and then get the correct query string.
Query Argument:
$query = array(
'post_type' => 'hps-group-content',
'order' => 'ASC',
'orderby' => 'meta_value',
'meta_key' => 'hpsgc_content_order',
'tax_query' => array(
'relation' => 'AND',
array(
'taxonomy' => 'hps-group',
'field' => 'name',
'terms' => 'Yoga',
'operator' => 'IN',
)
)
);
Final Query String:
post_type=hps-group-content&order=ASC&orderby=meta_value&meta_key=hpsgc_content_order&tax_query%5Brelation%5D=AND&tax_query%5B0%5D%5Btaxonomy%5D=hps-group&tax_query%5B0%5D%5Bfield%5D=name&tax_query%5B0%5D%5Bterms%5D=Yoga&tax_query%5B0%5D%5Boperator%5D=IN
For your reference which would properly explain how to get the final and proper query string, check out this old thread:
Best Regards.