image of logo

How to Add a Store Locator to WordPress to Drive Local Traffic

This guide provides a step-by-step walkthrough for adding a MapCosmos widget to your WordPress website.

1. Get Your Store Locator Installation Code

Before you can add the map to your WordPress site, you must first configure your locator and generate a unique installation code from your MapCosmos account. This involves setting up your locations, customizing the map's appearance to match your brand, and adding any custom details you need.

👉 We prepared a detailed guide on how to set up your widget and generate the installation code.

2. Add the widget to a WordPress Page

You can add the locator to any WordPress page by embedding the code in a Custom HTML block.

  1. In your WordPress dashboard, navigate to Pages → Add New (or use an existing page)
  2. In the WordPress editor, click the + (Add block) icon to open the library.
  3. Search for the Custom HTML and add it to your page.
  4. Paste the embed code you copied from your MapCosmos account directly into the Custom HTML block.
  5. Click Publish to make your store locator page live on your website.
PrestaShop admin panel showing where to embed the store locator widget on your website.

That’s it! 🚀

Do you have any questions about connecting to our powerful API for unique optimizations? Contact our team at contact@mapcosmos.com. We’ re happy to help!

See all integrations

Other platforms

Interested in MapCosmos?
The first 7 days are on us
Free hands on boarding & support
No credit card required!

Interested in MapCosmos? See it in action!

The first 7 days are on us
Free hands on boarding & support
No credit card required!
Interested in MapCosmos?
The first 7 days are on us
Free hands on boarding & support
No credit card required!