
Store Locator Plugin that lets you embed a Google Maps powered store locator.
This is a Store Locator plugin for WordPress that incorporates Google Maps.
What it can do:
- Adds a custom post type called Stores for input of store locations
- Automatically retrieves Google Maps coordinates of location
- Bulk import stores from CSV files
- Lets you add a store locator in any page/post using a shortcode
- Search by entering city and state/province, zip/postal code or part of an address
- Shows results on right ordered by distance
- REST API support for headless WordPress setups
- Modern, responsive design
- Secure AJAX-based searches with nonce verification
Screenshots

Store Locator custom post type input page.

Shortcode usage.

Embedded Store Locator.
FAQ
How do I embed the Store Locator?
Use the new post type ‘Stores’ to enter the information about your store locations. Once all Store Locations are entered, type in [storelocator] in your Post or Page to embed it.
Can I customize the size?
Yes, you can specify width and height: [storelocator width=”800″ height=”600″]
What do I enter for the Google Coordinates?
No need to worry about that! Just save the new Store location and it will automatically populate using the Google Geocoding API.
What if coordinates don’t populate?
- Check that you have entered a valid Google Maps API key in Settings
- Check the address you entered – it may have a misspelled street name
- Ensure the State/Province, City and Country have been entered
- If your address has a Suite or Apt number at the beginning, try typing it after the street address instead
Can I style the Store Locator?
Yes, you can override the styles in your theme’s CSS. The main container has the class .pazzey-store-locator.
How do I bulk import stores?
Go to Stores > Bulk Import in your WordPress admin. You can upload a CSV file with your store data. The CSV should include columns for: title, description, address, city, state, country, postal, lat, lng.
You can either provide lat/lng coordinates, or provide address and city and the plugin will automatically geocode them using the Google Maps API.
Download the sample CSV from the import page to see the expected format.
ChangeLog
2.1.0
- Added bulk import feature for CSV files (Stores > Bulk Import)
- Smart geocoding: uses provided coordinates or auto-geocodes from address
- CSV validation with preview before import
- Duplicate detection to prevent re-importing existing stores
- Downloadable error report for failed imports
- Sample CSV template download
2.0.0
- Complete rewrite for WordPress 6.x compatibility
- Added Settings page for Google Maps API key configuration
- Replaced iframe architecture with direct DOM embedding
- Converted XML responses to JSON via wp_ajax
- Added proper input sanitization and output escaping
- Added nonce verification for all AJAX requests
- Replaced deprecated functions (get_page, extract)
- Added REST API support (show_in_rest)
- Proper script/style enqueueing
- Responsive design
- Internationalization ready
- Added uninstall handler
- Fixed all PHP notices and warnings
- HTTPS for all Google API requests
- Uses wp_remote_get instead of cURL
1.2
- Fixed issue with HTML tags showing in the link for Google Maps
- Changed bloginfo(url) to bloginfo(wpurl) for non-root WP installations
1.1
1.0