Below is the shortcode to display nearest store to the users location. It shows the store name + address and is linked to the single store page. Also it shows the opening hours for this store.
[wordpress_store_locator_nearest_store text_before="Nearest Store: " show_name="false" show_opening="true" text_separator=" | " denied_text="Please enable Geolocation"]
Parameters:
- text_before (Default: “Nearest Store: “)
- show_name (Default: “false”)
- show_opening (Default: “true”)
- text_separator (Default: ” | “)
- denied_text=”Please enable Geolocation”
Output: Shows nearest store “address, city | opening hours”