Skip Navigation

[Résolu] Split: Search by location doesnt work in some ocasions – connditional content display issue

This support ticket is created Il y a 5 mois et 3 semaines. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 7 réponses, a 2 voix.

Dernière mise à jour par zeljko-turkaljS Il y a 5 mois et 2 semaines.

Assisté par: Minesh.


Hi Minesh, I completely understand, I will try to somehow restrict the key or at least change it on monthly basis.

I have another question / request, maybe not related to this topic. Please let me know if we need to open a new ticket.

On this page (lien caché), we have a search form and map which is initially hidden. The reason it is hidden is that we wanted to hide all results initially. I used this code in view loop editor:

[wpv-conditional if="( '[wpv-search-term param="wpv_view_count"]' ne '' )"]
[wpv-map-render map_id="bbfmls" map_height="500px" spiderfy="on" street_view="off" marker_id="street-view"][/wpv-map-render]



After we showcased this to client, comment was can we have a map initially without results and then when we change any filter values to show the same map with results.

Please let me know if that is possible

Thanks in advance



Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

I would like to know what default location you want to display when page is loaded first time?


It should be Florida, USA

lien caché



Les langues: Anglais (English )

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

What if you pass the attributes "general_center_lat" and "general_center_lon" to [wpv-map-render] shortcode.

general_center_lat and general_center_lon. Optional, coordinates for the map center when fitbounds is set to off. It takes valid latitude and longitude values: a latitude between -85 and 85, excluded, and a longitude between -180 and 180, included. Those numbers come from rstrictions from the Google Maps API

More info:

Does that help?


Hi Minesh, not sure if I understand what you mean. Will this addition help us to have map on this page before we change any filter value in search form?

lien caché

If needed, we can create again temp access to site, just please mark my next reply as private

Please let me know



Les langues: Anglais (English )

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

Can you please send me auto-login link so that I can login to your site and check whats going wrong with your setup.

I have set the next reply to private which means only you and I have access to it.



Les langues: Anglais (English )

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

Can you please check now: lien caché

With your view:
- lien caché

I've added the map render shortcode outside the conditional statement you added:

[wpv-map-render map_id="bbfmls" map_height="500px" spiderfy="on" street_view="off"  general_center_lat="27.994402" general_center_lon="-81.760254" marker_id="street-view"][/wpv-map-render]

I've pass the attributes "general_center_lat" and "general_center_lon" to [wpv-map-render] shortcode with Florida lat and lon. YOu can adjust the lat and lon value as required.

Can you please confirm it works as expected.


Minesh, this is perfect! Thanks.

I added additional attribute " general_zoom="6" ". Wanted to have a Florida a bit more centered.

Thanks for all your hard work and support, much appreciate

Sasa Vidakovic
Deal Studio

zeljko-turkaljS a confirmé que le problème avait été résolu sur 2024-02-06 12:02:46.
Ce ticket est maintenant fermé. Si vous êtes un client de Toolset et que vous avez besoin d'aide, veuillez ouvrir un nouveau ticket d'assistance