I have taxonomy terms for Countries and post type for Destination that have many dates for tour.
I want to get all terms that have posts width the Custom Filed (Custom field with Advanced custom field pro plugin) that have values between two values.
Example:
I have 8 tours dates(custom field) to china (post) in Asia (taxonomy term) and 2 tours dates(custom field) to England (post) in Europe (taxonomy term) between 1.6.2016 and 31.6.2016.
I want to get those two terms Asia and Europe.
Edit:
1) I need to display all tour(it post) dates in tour single page, and create taxonomy for countries.
2) I need to filter posts by dates and by taxonomy term
3) I need to create two drop down list (select) to filter. when you choose one select, the other select changes to only available. If you select India the dates select change to all available dates from all post from taxonomy India.
meta_query
to get posts within those dates and then loop the posts to get the terms from the taxonomy. while you could combine with atax_query
it could make it more complex than you need.