I have a custom taxonomy of business_types. Users arrive on a business_type by selecting ‘restaurants’ or whatever. The URL now would be: .com/business-type/restaurants in my taxonomy.php I have a search form that can then filter restaurants by locations.
The problem is the locations filter dropdown is not passed the restaurant term, so whatever the user has previously selected the same amount of results (anything in locations) can be filtered. So there might be 200 ‘eating and drinking’ businesses, and even if I’ve clicked to ‘cafes’ I can filter by the full taxonomy, not just ‘cafes’ in specified ‘locations’.
Can I pass the taxonomy slug to search and filter somehow? Or will I need separate taxonomy-[term].php pages to handle this?