Passer la navigation

[Résolu] Show the closest location near me on the search result query

This support ticket is created Il y a 1 year, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Fuseau horaire du supporter : Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 reply, a 1 voix.

Dernière mise à jour par Minesh Il y a 1 year, 4 months.

Assisté par: Minesh.

Auteur
Publications
#2791941
Capture.PNG

I have custom post type (Clinics) and there is map showing all locations. On the search bar, I want to show the closest clinic near me on the search result when I search my location address or postcode. How can I achieve that?

This is the development site I worked on: lien caché

If I try to search my postcode: 6000. It doesn't display the locations near me

I hope you can help me on this issue as this is very important.. PLEASE PLEASE!!!

#2791956

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Here is the official Doc that shows how you can setup the distance filter:
- https://toolset.com/course-lesson/filtering-and-ordering-map-markers-by-distance/

If you check there is a option "Distance center is set from user location" are you looking for that optoin?