If auto-locate never finds the visitor and the “Use my current location” button says permission was denied, your site probably sends a Permissions-Policy header with geolocation=(). Change it to geolocation=(self) wherever the header is set. WP Store Locator can’t override this header, but from version 3.1 it shows an alert on the Home page when…
Continue ReadingArchives: Document
wpsl_template_outer_classes
wpsl_search_order_options
wpsl_get_terms_args
wpsl_gmaps_bootloader_params
wpsl_cluster_marker_props
Customize Contact Details
The phone, fax and email in the search results and marker pop-ups are added as one block. This page shows the default block, and how to change the order, remove a line or add your own fields. The easier way: if the change is the same on every page, use the Section Editor. Load the…
Continue ReadingGDPR
Holds the map back until the visitor has consented to it. Why this matters Loading a map sends the visitor’s IP address to a third party — Google, Mapbox, Stadia or OpenStreetMap — before they’ve agreed to anything. GDPR treats that as personal data needing consent, so an EU-facing site usually has to ask first….
Continue ReadingSearch
Everything about how a visitor finds a location: what the search box does, which filters sit next to it, and how the results are ordered and limited. Search method Geocode API (default) — the visitor types a place, the geocoding service turns it into coordinates, and locations are returned by distance from that point. Name…
Continue ReadingMap
How the map itself behaves: where it opens, how far it zooms, which controls it shows. Start location The city or country used as the map’s centre before anyone searches. Required. If auto-locating the visitor is switched off or fails, the centre of this place is used instead. If the field is left empty the…
Continue Reading