Wp Query : Order by distance lat,lon

This may not be possible using what WP_Query gives you out of the box, it wasn’t designed to do math across multiple parameters for sorting. You can filter via meta_query and provide bounds, and you can order by a single value, you can even order by multiple values, e.g. show all items by their lat, … Read more

How to show upcoming events according to start date field

check phpmyadmin or similar database tool to see how your start_date is being stored. When you find how the variable is being stored, query all events and get their start_datess, convert each one into a date object and compare it to today’s date and only display events whose start_date is after today. (https://www.geeksforgeeks.org/comparing-two-dates-in-php/)