Skip to content
Store locator for WordPress

Add a store locator to WordPress without a plugin

The usual way to put a store locator on WordPress is a plugin: another thing to update, another thing that can break with a theme change, and often a Google Maps API key and billing account to set up. MightyMaps is hosted, so WordPress only holds one line of code in a Custom HTML block. Nothing runs on your server.

50 free credits · No credit card · No subscription

Example map made with MightyMaps: Fieldstone Bakery: Find a Shop
map.mightymaps.app A real map, not a mock-up: open it to drag, zoom and tap a stop. Fieldstone Bakery is made up for this example; the addresses are real.
Step by step

Adding it to WordPress

Self-hosted WordPress (WordPress.org) shows iframes in a Custom HTML block for administrators and editors. On WordPress.com, iframes need a paid plan with hosting features (plugins) turned on; free sites strip them out.

1

Build and publish the locator

In MightyMaps, upload your spreadsheet or paste your locations, check the pins, then switch the map to Public in the share menu.

2

Copy the embed code

In the share menu, copy the embed code.

3

Add a Custom HTML block

Edit the page in the block editor, click the block inserter (+), search for Custom HTML and add it.

4

Paste, preview and update

Paste the embed code, click Preview inside the block to see the map, then Update the page.

What you paste

One line, the same on every site

The embed code is a standard iframe pointing at your map on map.mightymaps.app. Change the map in MightyMaps and every page that embeds it shows the change; the code itself never needs replacing.

The embed code

Copied from the share menu. It looks like this:

<iframe src="https://map.mightymaps.app/your-map"
  title="Find a shop" width="100%" height="600"
  style="border:0" loading="lazy"></iframe>
If something looks wrong

Common WordPress fixes

The map vanishes after saving.

Your account or site is stripping iframes. On WordPress.com that means the plan; on a self-hosted site, check that you are an administrator or editor, and that no security plugin removes iframes.

Using Elementor, Divi or the classic editor.

Use Elementor's HTML widget, Divi's Code module, or the Text tab of the classic editor. The embed code is the same.

A caching plugin shows the old page.

The map itself is never cached by WordPress, only the page around it. Clear the page cache once after adding the block; later map edits appear on their own.

What your visitors get

Fieldstone Bakery: Find a Shop

Nearest location first, search by town or ZIP code, and hours, phone and directions on every location. This is the same locator that would sit on your WordPress page.

A store locator for Fieldstone Bakery: our ten Portland cafés and two pickup points, with hours, phone numbers and links. Pickup points in a different colour.

Looked up 12 addresses and built a locator with search and directions

Example map made with MightyMaps: Fieldstone Bakery: Find a Shop
map.mightymaps.app A real map, not a mock-up: open it to drag, zoom and tap a stop. Fieldstone Bakery is made up for this example; the addresses are real.

Built from a spreadsheet? How spreadsheet import works →

FAQ

Store locators on WordPress

No more than any embed. The locator is served from MightyMaps, not your server, and the embed code loads it lazily, when a visitor scrolls near it.

Your map, live in minutes

Start with a list or a sentence. Keep going until the map is right. Embed it on your site or share the link.

50 free credits when you sign up · No credit card · No subscription