Problem:
A conditional checking for an empty distance ("N" result) stopped working after Maps updates. The consent prompt never appeared and no non-geolocated content showed.
Solution:
The View had a Distance query filter, so Maps would not run it until the location was known and showed a "location needed" message instead. Remove the Distance filter, since the Content Template already calculates the distance. Update the custom "trim_view" shortcode in "Toolset > Settings > Custom Code" to return "N" when the output contains the location-required message.
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.
Este tema contiene 4 respuestas, tiene 1 mensaje.
Última actualización por - 2 weeks, 4 days ago.
Asistido por: Christopher Amirian.