Using the Store Locator

Last update: 18 January, 2017

You can see on our live Local SEO demo site what the store locator looks like and how it works: http://local.yoast.com/location-finder/

Table of Contents

Post/Page Button

When clicking the “Store locator” shortcode button it will show this popup.

Yoast SEO: Local Store Locator pop-up

Choose the options and define what the results should look like. This will then insert a shortcode into your page, which looks something like [wpseo_storelocator], it’s probably best if you give that a line of its own in your content.

Sidebar Widget

This widget is used to display a location feature. This will help users know where the businesses are located. The widget comes with several features that need to be explained.

  • Search label is used to describe the search. You can use “Find Nearest Business” or “Search” or any other label you think may entice users to search
  • Default Radius is set to 10km and is used to calculate the radius of the search.
  • Select Page is needed so the plugin knows where to display the results.

Back End
Screen Shot 2016-08-12 at 4.27.52 PM

Front End
Screen Shot 2016-08-12 at 4.35.54 PM

Shortcode

Enter this in the content of your post or page: [wpseo_storelocator]

You can use the following options:

  • show_map: Valid options are 0 or 1 where 1 shows a map of all locations before searching and updates to display search results.
  • scrollable: Valid options are 0 or 1 where 1 allows the user to use the scrollwheel to move the map. Requires show_map.
  • draggable: Valid options are 0 or 1 where 1 allows the user to drag the map. Requires show_map.
  • marker_clustering: Valid options are 0 or 1 where 1 shows the number of locations in an area when more than 1 location is in close proximity. Requires show_map.
  • show_radius: Valid options are 0 or 1 where 1 shows a radius field to allow users to narrow down search results to a specific area.
  • show_nearest_suggestion: Valid options are 0 or 1 where 1 displays nearest locations if no location is found with the searched area.
  • radius: Valid options are numbers. Requires show_radius.
  • show_filter: Valid options are 0 or 1 where 1 shows the filter to narrow search results.
  • map_style: Valid options are hybrid, roadmap, satellite, or terrain
  • oneline: Valid options are 0 or 1 where 1 shows the address on a single line instead of split over multiple lines.
  • show_state: Valid options are 0 or 1 where 1 shows the state.
  • show_country: Valid options are 0 or 1 where 1 shows the country.
  • show_phone: Valid options are 0 or 1 where 1 shows the primary phone.
  • show_phone_2: Valid options are 0 or 1 where 1 shows the secondary phone.
  • show_fax: Valid options are 0 or 1 where 1 shows the fax number.
  • show_email: Valid options are 0 or 1 where 1 shows the email address.
  • show_url: Valid options are 0 or 1 where 1 shows the URL.
  • show_opening_hours: Valid options are 0 or 1 where 1 shows the opening hours.
  • hide_closed: Valid options are 0 or 1 where 1 hides days you are closed. Requires show_opening_hours.
  • show_category_filter: Valid options are 0 or 1 where 1 shows the category filter to allow users to narrow the search results. Requires show_filter.

Was this article helpful? ·