Add a store locator to WordPress

The easiest way is our plugin: upload it, connect your account, add the block. Or connect WordPress straight from the app, with no upload at all. Without the plugin, the Custom HTML block does the job too.

Today: plugin downloadDownload the zip, install it, click "Connect with My Store Locator" - with block, shortcode and Elementor widget. Or with no upload at all: "Connect with WordPress" under Integrations in the app.

WordPress directory listing coming soonAfter that, updates come automatically through WordPress. Until then, get the plugin here as a zip.

My Store Locator for WordPress

Plugin · Version 1.0.0 · 46 KB

Works with: WordPress 6.3 to 7.1, PHP 7.4 or later, also for WooCommerce

Download zip

File my-store-locator-1.0.0.zip · SHA-256 b1c057822fdef27929d0a2f01b3e1a3dc0fef95cf067aa3e366af0f7ea693283

What you get

An interactive location map with list, search and filters, right on your WordPress page. You keep managing locations in My Store Locator, and changes show up on your site without touching the code again.

Before you start

  • A My Store Locator account (sign up free)
  • A published map (status "Live", not "Draft")
  • For the plugin, an administrator account in WordPress; for the way without the plugin, the embed code from the Embed Studio in the app
  • Permission to edit pages in WordPress

No upload: connect from the app

  1. In My Store Locator, open Integrations → WordPress, enter the address of your site and click Connect with WordPress.
  2. Sign in to WordPress (if needed) and click Yes, I approve of this connection.
  3. Back in My Store Locator, click Create page with map - done.

This works with any WordPress site from version 5.6 with HTTPS, without uploading a file and without typing your WordPress password into My Store Locator. You disconnect it in the app with one click. For the block, the shortcode and the Elementor widget, install the plugin.

Install the plugin

  1. Download the zip file above. Do not unzip it.
  2. In WordPress, go to Plugins → Add Plugin (older versions: Add New Plugin or Add New) and click Upload Plugin at the top.
  3. Choose the downloaded file, click Install Now and then Activate Plugin.

You need an administrator account. On WordPress.com, uploading plugins only works on plans that include plugins - otherwise use the way without the plugin below.

Connect to My Store Locator

  1. Open Settings → My Store Locator.
  2. Click Connect with My Store Locator. In the new window, log in (or sign up free) and pick your map. The plugin takes over the map token by itself.
  3. Add the map: with the My Store Locator block in the block editor, the shortcode [my_store_locator], the Elementor widget or a widget area. Or click Create a store locator page at the bottom of the settings and the plugin creates a draft page with the block, which you only need to Publish.

If no window opens, paste the map token, the embed code or the map link from Embed Studio under Add a map manually and click Save map. Two-click consent (Consent mode, the map only loads after a click) is on by default.

Updates

A plugin installed from a zip file does not update itself. New versions are published on this page. Once the plugin is approved in the WordPress plugin directory, WordPress shows updates under Dashboard → Updates like for any other plugin - no reinstall needed.

Without the plugin: Custom HTML block

  1. In the app, open Embed Studio, select your map and copy the code from the iframe tab.
  2. In WordPress, open the page where the map should appear (for example "Locations") in the block editor.
  3. Click the plus icon and add a Custom HTML block.
  4. Paste the code into the block.
  5. Click Update or Publish, then check the live page.

The code looks roughly like this:

<iframe src="https://app.my-store-locator.com/#/m/YOUR-TOKEN" title="Store locator" style="width:100%;height:640px;border:0;max-width:100%" loading="lazy" allow="geolocation"></iframe>

Elementor and other page builders work the same way: use their HTML widget.

Change the template, keep the code

Every map has a fixed token. If you switch the template, adjust colours or add locations in the app, the code stays the same. Nothing to update in WordPress.

In Embed Studio, turn on "Load the map only after a click (GDPR)". Visitors then see a placeholder with a privacy notice first, and the map only loads after they click "Load map". Copy the code again after switching this on, because the code changes.

Height and mobile

Width is set to 100 %, so the map fits the column it sits in. Set the height in Embed Studio (for example 480, 640 or 800 px). For pages that are mostly visited on phones, the "Mobile Sheet" template works well.

If the map does not show up

  • Blank in the editor: some editor previews do not render iframes. Check the published page instead.
  • "Map not available": the map is still a draft. Publish it in the app.
  • Code gets stripped: some security plugins or restricted user roles filter iframes. Edit the page as an administrator or allow iframes from app.my-store-locator.com.
  • Content Security Policy: if your site sends a CSP header, frame-src must allow app.my-store-locator.com.

More details are in the embedding guide.

FAQ

Do I need a plugin?

No. The Custom HTML block is enough. The plugin makes it more convenient: you connect your account instead of copying code, and add the map as a block, shortcode or Elementor widget.

Is the plugin free?

Yes. The plugin itself costs nothing. For the map you need a My Store Locator account; the Free plan is enough to start.

Does this work with Elementor, Divi or other builders?

Yes. Use the builder's HTML or code element and paste the same code there.

Do I have to change the code when I add locations?

No. New or edited locations appear on the map automatically.

Can I show the map on several pages?

Yes. Paste the same code on each page, or create several maps in the app, for example one per region.

Try it with your own locations.

Create an account, import your locations, embed the map. The Free plan stays free - and you can test Pro for 14 days.

Try the demoTry it now, no sign-up