Saltar navegación

[Resuelto] Show the closest location near me on the search result query

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 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Minesh 1 year, 4 months ago.

Asistido por: Minesh.

Autor
Mensajes
#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: enlace oculto

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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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?