WP Store Locator is a powerful and easy to use location management system.
You can customize the appearance of the map, and provide custom labels for entry fields.
Users can filter the results by radius, and see driving directions to the nearby stores in
the language that is set in the admin panel.
- Manage an unlimited numbers of stores.
- Provide extra details for stores like the phone, fax, email, url, description and opening hours. There are filters available that allow you add custom meta data.
- Support for custom map styles.
- Choose from nine retina ready marker icons.
- Show the driving distances in either km or miles.
- Shortcodes that enable you to add individual opening hours, addresses or just a map with a single marker to any page.
- Compatible with multilingual plugins like WPML and qTranslate X.
- You can drag the marker in the editor to the exact location on the map.
- Show the search results either underneath the map, or next to it.
- Show Google Maps in different languages, this also influences the language for the driving directions.
- Show the driving directions to the stores.
- Customize the max results and search radius values that users can select.
- Users can filter the returned results by radius, max results or category.
- Supports marker clusters.
- Customize map settings like the terrain type, location of the map controls and the default zoom level.
- Use the Geolocation API to find the current location of the user and show nearby stores.
- Developer friendly code. It uses custom post types and includes almost 50 different filters that help you change the look and feel of the store locator.
- GDPR – Load Google Maps only after the user agrees to it ( requires the Borlabs Cookie plugin ).
Please take a look at the store locator documentation before making a support request.
The CSV Manager allows you to bulk import, export and update your locations using a CSV file.
The Search Widget enables users to search from any of the widgetized areas in your theme for nearby store locations, and show the results on the store locator page.
The Statistics add-on enables you to keep track of the locations users are searching for and see where there is demand for a new store.
The Extenders add-on adds the features needed by power users such as managing location based events, social media information and locations managed by other logged in users.
- Upload the
wp-store-locatorfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Create a Google API Key and set them on the settings page.
- Set the start point on the settings.
- Add your stores under ‘Store Locator’ -> Add Store
- Add the map to a page with this shortcode: [wpsl]
How do I add the store locator to a page?
Add this shortcode [wpsl] to the page where you want to display the store locator.
Oops! Something went wrong
You can fix this by setting the browser key on the settings page.
There are weird characters in the search results, how do I remove them?
This is most likely caused by a plugin like W3 Total Cache that tried to minify the HTML output on the store locator page. You can fix this by excluding the store locator from being minified on the settings page of the caching plugin you’re using. In W3 Total Cache this is done by going to Minify -> Advanced -> Never minify the following pages, and fill in the page you don’t want to have minified. So if your store locator is used on mydomain.com/store-locator, then fill in ‘store-locator’.
Can I use different markers for category or individual store locations?
The map doesn’t display properly. It’s either broken in half or doesn’t load at all.
Make sure you have defined a start point for the map under settings -> Map Settings.
The map doesn’t work anymore after installing the latest update
If you use a caching plugin, or a service like Cloudflare, then make sure to flush the cache.
I can’t dismiss the pop up asking me to join the mailing list, how do I fix this?
There is probably a JS error in the WP Admin area that prevents the pop up from being dismissed. Try for a second to switch back to a default WP theme, disable all other plugins, and then try to dismiss the newsletter pop up again.
Why does it show the location I searched for in the wrong country?
Some location names exist in more then one country, and Google will guess which one you mean. This can be fixed by setting the correct ‘Map Region’ on the settings page -> API Settings.
The store locator doesn’t load, it only shows the number 1?
This is most likely caused by your theme using ajax navigation ( the loading of content without reloading the page ), or a conflict with another plugin. Try to disable the ajax navigation in the theme settings, or deactivate the plugin that enables it to see if that solves the problem.
If you don’t use ajax navigation, but do see the number 1 it’s probably a conflict with another plugin. Try to disable the plugins one by one to see if one of them is causing a conflict.
If you find a plugin or theme that causes a conflict, please report it on the support page.
You can find the full documentation here.
Contributors & Developers
“WP Store Locator” is open source software. The following people have contributed to this plugin.Contributors
* Fixed: Borlabs Cookie compatiblity problem with the Google Maps placeholder.
* Fixed: PHP 8 Compatiblity
* Fixed: Polylang Compatiblity
* Fixed: A problem with the Borlabs Cookie plugin where Google Maps wasn’t blocked correctly.
* Fixed: The opening hours triggering an error on some server configurations.
* Fixed: Restored the wpsl_skip_cpt_template filter which was accidently removed in a previous update.
* Fixed: Bug that in some cases broken the Borlabs Cookie plugin from working correctly together with the store locator plugin.
* Fixed: The export data function on the single location pages in the admin area not working.
* Fixed: The map and location data not showing up in the TwentyNineteen theme on individual location pages.
* Changed: Updated the included EDD_SL_Plugin_Updater class that handles updates / license key checks for add-ons.
* Added: Support for the Borlabs Cookie plugin. This allows you to block the loading of Google Maps until the user agrees to it.
* Added: A ‘Validate API Keys’ tool that will provided feedback for any issues with the used API keys.
* Added: A tool that will show you the raw Google Geocode API response for any address you provide based on the current configuration together with a preview map.
* Changed: Made sure that links included in error messages from the Google Geocode API are always clickable.
* Changed: If no zip code is included in the returned location data after the users location is automatically determined, then it will now show the city / town name in the search field instead of leaving it empty.
* New: Added an option to the permalinks section to optionally remove the front base ( for example /blog/ ) from the store locator permalinks.
* New: Added an option to the search section to force the Google Geocode API to assume the search input is a zip code. So searching for town / city names won’t work if this option is enabled.
* New: Included a wpsl_autocomplete_options filter to customize the included data in requests made to the places API ( used with autocomplete ).
* Changed: Limited the requested data for the places API ( used with autocomplete ) to only ‘geometry.location’, which should reduce the cost on high traffic websites.
* Removed: Unused CSS rules from the admin CSS.
* Fixed: Using keyboard input to select a location after the first search with the autocomplete option enabled now returns the correct location.