=== StoreRocket Store Locator ===
Contributors: storerocket
Tags: store locator, store finder, dealer locator, map, locations
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.2.1
Requires PHP: 7.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Add a fast, beautiful store locator map to your WordPress website in minutes. No coding required.

== Description ==

StoreRocket is the store locator platform used by 17,000+ businesses — from single-location shops to global brands. This plugin adds your StoreRocket store locator to any WordPress page or post with a shortcode, in about two minutes.

Manage every location from one dashboard. Every change syncs instantly to your website — no plugin updates, no cache clearing, no re-embedding.

**Why teams pick StoreRocket:**

* **Fast setup, zero code** — paste your widget ID, drop the shortcode, done
* **Google Maps or Mapbox** — choose the map provider that fits your brand and budget
* **From 1 to 50,000 locations** — search stays fast at any size
* **Search analytics** — see what visitors search, where demand comes from, and which locations get clicked
* **Google Sheets sync & CSV import** — keep locations updated from the tools you already use
* **Custom filters, fields & markers** — categories, services, brand pins, opening hours
* **Multi-language support** — serve international visitors in their language
* **Mobile-first** — looks and works great on every screen size
* **REST API** — for teams that want to automate location management

**Requirements:** a StoreRocket account. Start a free trial at [storerocket.io](https://storerocket.io?utm_source=wordpress.org) — no credit card required.

== Installation ==

1. Install and activate the plugin.
2. Go to Settings → StoreRocket and paste your widget ID (found in your StoreRocket dashboard under Widget → Install).
3. Add the `[wp-storerocket]` shortcode to any page or post.
4. Publish. Your store locator is live.

== Frequently Asked Questions ==

= Do I need a StoreRocket account? =
Yes. The plugin embeds the locator connected to your StoreRocket account, where you manage locations, design, and settings. New accounts start with a free trial, no credit card required.

= Where do I find my widget ID? =
In your StoreRocket dashboard under Widget → Install.

= Does it slow down my site? =
No. The locator loads asynchronously from StoreRocket's CDN and doesn't block your page render.

= Can I use Mapbox instead of Google Maps? =
Yes — pick your map provider in the StoreRocket dashboard. The plugin needs no changes.

= How many locations can I add? =
Plans support from 1 up to 50,000 locations.

= Does it work with page builders? =
Yes — place the shortcode in any block, module, or text element (Gutenberg, Elementor, Divi, WPBakery, etc.).

== Screenshots ==

1. The store locator on a live site — instant search with distance and open-now status
2. Search any city or address — results update on the map in real time
3. Location details — hours, services, and one-tap directions

== Upgrade Notice ==

= 1.2.1 =
The store locator block now defaults to full page width.

= 1.2.0 =
New block-editor block, per-page account ID override, and admin cleanup.

= 1.1.1 =
Critical fix: the store locator embed failed to render on PHP 8. Please update.

== Changelog ==

= 1.2.1 =
* Improved: the block now spans the full page width by default (with wide/full alignment controls) — no more narrow locator squeezed into the content column

= 1.2.0 =
* New: StoreRocket Store Locator block for the block editor (find it in the inserter under Embeds)
* New: shortcode accepts an account ID override — [wp-storerocket id="XXXXXXXXX"]
* New: settings page refreshed with clearer setup steps
* Improved: setup notice now only shows to administrators on the Dashboard and Plugins screens
* Improved: plugin cleans up its settings when uninstalled
* Fixed: removed a stray PHP-version check that could block activation with a confusing message
* Under the hood: hardening (direct-access guards, escaping) and translation-ready strings

= 1.1.1 =
* Fixed: the store locator embed failed to render on PHP 8 (template rendering conflict) — please update
* Fixed: multiple store locators on the same page now render correctly
* Fixed: settings page documented a wrong shortcode name — the correct shortcode is [wp-storerocket] (the old documented name now works too, as an alias)
* Fixed: settings link on the Plugins screen and dashboard links now point to the right pages
* New: fresh screenshots and a live preview

= 1.1.0 =
* Verified compatibility with WordPress 7.0 and PHP 8.x
* Refreshed plugin listing and documentation
* No functional changes — existing installs keep working as-is

= 1.0.1 =
* Initial public release
