=== MapCosmos ===
Contributors: mapcosmos
Donate link: https://mapcosmos.com/
Tags: store locator, branch finder, store finder
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A simple block that lets you install the MapCosmos Store Locator widget on any page using your installation code.

== Description ==

MapCosmos provides an easy way to display a store locator widget on your WordPress website.
This plugin adds a Gutenberg block where you can paste your MapCosmos installation code, and the widget will be rendered on the frontend.

**Features:**

* Adds a "MapCosmos" block to the Block Editor
* Paste your installation code directly into the block
* Fully dynamic block — scripts are safely rendered on the frontend
* Works with any theme that supports blocks
* Lightweight, no settings page required

To get your installation code, visit:
https://mapcosmos.com/article/how-to-set-up-your-mapcosmos-store-locator-and-get-the-installation-code

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/mapcosmos` directory, or install it directly through the Plugins screen.
2. Activate the plugin through the "Plugins" menu.
3. Open any page or post in the Block Editor.
4. Add the **MapCosmos** block.
5. Paste your MapCosmos installation code into the block.
6. Update or publish the page.

== Frequently Asked Questions ==

= Where do I get the installation code? =
You can generate your installation code from your MapCosmos dashboard.
Documentation:
https://mapcosmos.com/article/how-to-set-up-your-mapcosmos-store-locator-and-get-the-installation-code

= Does this plugin create shortcodes? =
No. It provides a Gutenberg block only.

= Does it work with classic editor? =
Not directly. You would need a block embed plugin or switch to the block editor.

= Will this slow down my website? =
No — the plugin only loads the MapCosmos widget script when the block is used on a page.

== Changelog ==

= 1.0 =
* Initial release.

== Upgrade Notice ==

= 1.0 =
Initial release.