I’ve created a listing directory with CPTs and categories. It is a global app. The users are not happy using the manual search feature provided with geodirectory to find local listings.
I want to set up a simple hierarchical UI like on most travel sites. Pick a country (from an image or a list), then Pick a region/state (from an image or list), then be presented with a list of available Listings in that region ( sorted by CPT and CPT/Category). This seems like it should be simple but I can’t figure out how to set it up.
The [gd_cpt_categories] short code provides the last step, but I need this to be first sorted by location per above. For example if the user is in US/California I want this short code to show the CPTs by category for CA only, and enable the user to get the list of just the California listings. I presume if this is not in the short code there would be a custom query that could filter this and ‘hard code’ it to the menu?
Could you advise me or send a sample (and/or sample query)?