Store Locator Shortcode
To place the store locator just create a new page and insert the following shortcode:
[wordpress_store_locator]
New from Version 1.4.1: Shortcode attributes to create multiple maps with different categories. See here how to find the store category id.
Example 1:
- Only show category ID 34 (T-Shirts)
- no children
- no “show all categories”
[wordpress_store_locator categories="34" show_children="no" show_all="no"]
Example 2:
- Show Categories 32 (Clothes) and 35 (Music Stores)
- Show no children
- Show “all categories”
[wordpress_store_locator categories="32,35" show_children="no" show_all="yes"]
Search for Store Shortcode
If you want to have a search for store page like in our Demo, you can create a new page or use any other like your Home page for example. Then place the Following Shortcode:
[wordpress_store_locator_search url="https://demos.welaunch.io/wordpress-store-locator/demo/" style="1" show_filter="yes"]
Google API Key
For our plugin you will need a fully working Google API Key. A tutorial on how to get it, can be found here: https://connections-pro.com/documentation/create-google-maps-api-keys/
You need to make sure, that inside the Google Console the following options are activated:
Allow your domain to access the key
Enable: Google Places API Web Service
Enable: Google Maps JavaScript
Enable: Google Maps Geocoding[/vc_column_text][vc_separator css=”.vc_custom_1503299847900{margin-top: 30px !important;margin-bottom: 30px !important;}”][/vc_column][/vc_row]
This address appears by default when using the shortcode:
Rostov Oblast, Russia, 346222
How do I remove it?
In the map settings, you need to change the default latitude and longitude.
We install the plugin, but it is giving error all the time of Geocoder failed due to: REQUEST_DENIED. What can it be?
You need to enable the Geocoding service in Googles API console.
Hi, I’ve done this but still getting the same error. Any further advice?
Make sure the custom.css file is writeable in plugin folder > public > css folder.
Hi,
I’ve added the API. But when I add the shortcode [wordpress_store_locator] to a page it says Publishing Failed or Updating Failed. When I hit preview I can see the store locator. So close 🙂
Can you please help?
Thanks,
Gill
Please enable outbut buffering in advanced store locator plugin settings.
Thanks! That worked a treat : )
do we need to pay to google for the api google map?
i have add shortcode [wordpress_store_locator] but there is updating failure
No and yes – you have a free 200$ limit on googles service per month.
Hello,
Ive used the shortcode: [wordpress_store_locator] to place the store locator on a normal page, however regardless of where on the page I place the shortcode, the locator keeps apearing at the top of the page. I need it to appear where Ive placed the shortcode.
I’m using the Divi theme and placing the shortcode in a module specifically designed for code such as this. I’ve tried using Modal Code Position in the settings, but this doesnt work either.
Any help would be appreciated!
Thanks,
In advanced settings enable output buffering. That will fix the top location issue.
Is it possible to have a shortcode to display a map that shows all stores by default? I want to show every pin on a map on one page, but not on another page.
That is currently not possible 😉
Does this plugin not work with builders such as Beaver Builder?
Yes for sure it does.
Can i hide filters?
Yes via plugin settings you can hide store filters.
Hello!
categories filtering with shortcode does not work with latest version of plugin. It shows all stores. 🙁
I’ve added the API it shows that I have stores in the system, but as soon as I go to the page that holds the shortcode, it tells me “No stores found… Try Again.” What’s going wrong?
Do your stores have lat / lng information?
Hello,
Thank you for this powerful tool.
How can I change the color of the pin/markers, and the radius zone on the map?
You can do this in the plugin settings.
Hello again,
1)on this page http://kurzweildev.zaramedia.com/dealers_test_adil/ the map is displayed before the title of the page inspite of the shortcode placed in a different container below.
2) The map looks whitish and i can’t click or start my search. Could you help me solve this issue please?
Thanks a million team WELAUNCH!
Please disregard my second message, I got it to work, although on firefox the map is grayscaled and unclickable, it works on safari. Also I enabled “Use Output Buffering” to display the map where it should be.
A thousand sorry,
I forgot one request.
I have two filters “Current Products” and “Legacy Products”.
I would like to display “Current Products” for this page http://kurzweildev.zaramedia.com/dealers_test_adil/
I would like to display “Current Products” and “Legacy Products” for this page http://kurzweildev.zaramedia.com/authorized-repair-facilities-test-adil/
I tried to use the “Edit Store Filter” for each of these filters. Ex I gave legacy filter the category “service centers aka authorized repair facilities”. It worked for the dealer page (only current products filter shows like I wanted), but not the authorized repair facilities. It keeps the current filter only when I want in addition “legacy products.
Can anybody help with how to show selected filters? My request is just above.
Thanks in advance
hi, can you help me setting up find-in-store page? It is giving me a tough time. Do you offer paid services or gigs?
Yes contact us at support@demos.welaunch.io for our customization service.
Hi,
I need to display Get Location pointer icon inside search box instead of “get my position” under the search box. How can I do that? Is that possible for to that with any simple customization?
That is more complicated and requires customizations.
Hello, since i used another theme in wordpress the map became much smaller in width and is to the right with the stores beside it in on the left and only in one row all the way down (50 stores) instead of in two rows of 25 underneath the map.
How can I fix this?
Please send us your store locator URL to support@demos.welaunch.io
Hi I’m getting this error.
Publishing failed. Error message: The response is not a valid JSON response.
Can you please help? Thanks.
Please check you browser console & php error log.
i have an issue on the category end. i have it set to geolocate but there are stores in the radius missing. ive tried adding every category id to the shortcode with no avail. can u help??
Please check if all stores have a valid lat / lng and categories are assigned. What you mean with “with no avail”?
categories are assigned and lat / lng is set and valid. i mean ive tried everything and they don’t show also i thought it might be a category issue. so i tried to make an all category but quickly realized that if you try to attached parent categories to that main category you loos the option of child categories
Please send us your codecanyon purchase code along with wp-admin and exact issues details to support@demos.welaunch.io
Hi, is there anyway to include a basic search box on a different page in a widget or the like, that sends the user to the desired map page? ie. when they search a city or zipcode.
Yes you can create a search for store shortcode: https://demos.welaunch.io/wordpress-store-locator/docs/faq/search-store-page/