The easiest way to change the order of the store locator categories is by using a third-party plugin like this.
Continue ReadingArchives: Document
Postal Code Search Returns No Results
Searching by postal codes can return unexpected results. This often happens when then search is not restricted to a single country, but also because by default the user input is always assumed to be an address. So when you provide a postal code instead, the Google Geocode API may not return the expected results.
Continue Readingwpsl_template_css_classes
Move Locations From Old to a New Domain
If you need to move the WP Store Locator data from an old to a new domain, then you can do this by using the Import / Export function from WordPress itself.
Continue ReadingStart Location From Settings Page is Ignored
If the value from the start point is ignored, then open the store locator page in the admin editor and make sure the start_location option is not included in the shortcode.
Continue ReadingDuplicate Maps are Shown on Single Store Pages
In the rare case you end up having duplicate maps and address details on the single stores pages, then you can fix this by using the wpsl_skip_cpt_template filter.
Continue ReadingChange the Text and Background Colors
In some cases your theme may force the store locator to use white text on a white background, or any other unreadable color combination. To fix this you can overwrite the current style with custom CSS code.
Continue ReadingInclude the URL in the Search Results
Showing the URL in the search results can be done by creating a custom search results template with the wpsl_listing_template filter. If you also like to include it in the info window that opens up after the user clicks on a marker, then that’s done with the wpsl_info_window_template filter. Place the code examples below in…
Continue ReadingThe Attempt to auto-locate the User Setting is Ignored
It happens in rare cases that the selected option for the ‘Attempt to auto-locate the user’ setting is ignored ( probably due to caching somewhere ). To fix this you can overwrite it with a few lines of code that have to be placed in the functions.php inside your active theme folder. To disable it…
Continue Reading