How to use the Store locator block

Do you have Yoast SEO Local, and want to add the locations of your stores to any post or page? With the Store locator structured data block, you can add and customize maps of your business. In this article, we’ll explain how you can add, customize and use the Store locator block in both the block and the classic editor.

How to add the store locator block in the block editor

Follow these instructions to add the store locator block to any of your posts or pages

  1. In your WordPress Dashboard, go to any of your Posts or Pages

  2. Open the content editor for the specific post or page

  3. In the top left corner, click on the blue plus


  4. Search for the Yoast SEO: Local Store locator block


  5. Click on it to add it to your content

How to customize your store locator block

  1. After adding the Locator block, open the Settings in the top right corner

  2. Select the Store locator block in the editor
  3. In the Settings, click Block

  4. Customize the appearance of your Store locator block
    You can change the behavior of the map, maximum number of results, type of map, and what informaton you want to display.


How to add and customize the store locator block in the classic editor

  1. In your WordPress Dashboard, go to any of your Posts or Pages

  2. Open the content editor for the specific post or page
  3. Click the Store locator button

  4. Customize the appearance of your Store locator block
    You can change the behavior of the map, maximum number of results, type of map, and what informaton you want to display.

  5. Click Insert Store locator

  6. You’ve now added the Store locator shortcode [wpseo_storelocator]

Sidebar widget

Under Appearance > Widgets, you’ll find a Store locator form. This widget is used to display a location search feature. This will make it easier for users to find out where your multiple locations are situated. This widget is only available when you have the Multiple locations option turned on in the Business info settings in Local SEO. The widget comes with several features that need to be explained.

This is what your widget will look like in the back end:

Store locator sidebar widget options
  • The title of the widget shows up above the search box to show visitors what they can expect.
  • The search label shows up just above the search input field. We recommend using a label like “Find Nearest Business” or “Search” or any other label you think may entice users to use the search box.
  • The default Radius is set to 10km (6m) and is used to calculate the radius of the search.
  • Select a page to put your search box on.

The widget will output the following result on the front end of your site:

Screen Shot 2016-08-12 at 4.35.54 PM
Store locator search widget

Did this article answer your question?

Thanks for your feedback!

Related articles

Get free SEO tips!