code-pixelz-media / locatepress

GNU General Public License v2.0
0 stars 0 forks source link

Change Query to filter by geolocation field. #21

Open cpmraman opened 3 years ago

cpmraman commented 3 years ago

Changed the query for ajax request and added geo_query to default WP_Query. This will help to filter the listing by the help of longitude and latitude of location selected in geolocation field, and radius search by miles/KM.

cpmraman commented 3 years ago

https://www.awesomescreenshot.com/image/12740474?key=bf4b08d1dae6ad8e9bfb8d0d20bdb4b6

Added this setting page to set value of radius of search and its unit