Saltar navegación

[Resuelto] Split: how to show search result locations on map

This support ticket is created hace 4 años, 5 meses. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Waqar hace 4 años, 5 meses.

Asistido por: Waqar.

Autor
Mensajes
#1735825

Hi Waqar - i also just remembered that i wanted to ask you this. If i want to add a map to the Views search results with the locations on, is that possible? I added a screenshot from airbnb as an example - my boss likes this setup a lot.

#1735847

Hi,

Thanks for asking! I'd be happy to help.

In order to show the marker for the results on a map, it is important that location information is available with each post, through an "Address" type custom field.
https://toolset.com/course-lesson/installing-toolset-maps-and-adding-address-fields/

Once you have the data part of the location information covered for your results, you can include a "Map" block in your view, as explained in this tutorial:
https://toolset.com/course-lesson/displaying-a-simple-map/

Tip: For a side-by-side layout, as shown in your screenshot, you can divide the page's content into two columns and then insert the view with the results in one and the map block in the other.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar