Add locations and a store locator map
To add a store locator to your site, enter each store, office, or branch once with its address, then place a block that shows them as a list, on a map, or in a search where visitors type a US zip code and see the locations within a set number of miles.
The steps below use the Dirigible Locations plugin. Maps and search also need mapping turned on in the Customizer.
Add a location
- Go to Locations → Add New Location.
- Enter the location name and, if you like, a featured image.
- Fill in Location Information, including the map pin or embed under Google Map / Map.
- Fill in Contact Information: Website, Street Address, City, State, Zip, Phone, and Email Address.
- Add Social Media links if you have them.
- Assign Regions and Types so visitors can filter.
- Click Publish.
Turn on maps
The Location Map and Location Search blocks need this.
- Go to Appearance → Customize → Dirigible Locations → Mapping.
- Turn on Enable Mapping.
- Choose Map Provider (OpenStreetMap works without a key; Google Maps needs one) and Map Tiles, then paste in the Stadia API Key or Google Maps API Key your provider needs. To get a Google key, see Get maps working with a Google Maps API key.
- Edit GDPR Map Prompt if you want different wording for the message visitors see when a map waits for cookie consent.
- Click Publish.
Show locations on a page
- Edit the page.
- Insert one of these blocks:
- Locations for a grid or card list
- Location Map for a map with location cards
- Location Search for a store locator that searches by US zip code and distance in miles
- Single Location to feature one place
- For Locations, set Layout (Grid, Cards, Features), What to Display (Show All Locations, By Region, By Type, or Handpicked), and Filtering.
- For Location Map, the Data and Appearance tabs have the same display choices plus card style and image options.
- Publish the page.
Tips
- Complete addresses keep map pins in the right place.
- One listing per page is usually enough. A Location Map and a full Locations grid on the same page tend to repeat each other.
- If each location has its own page, give each one its own search title and description with Edit the SEO title and meta description for a page.
- Every setting on the store locator: Location Search and Location Map.