=== MyRest Reservation Widget ===
Contributors: myrest
Tags: myrest, rezerwacja, rezerwacja stolikow, restauracja
Requires at least: 5.8
Tested up to: 6.8
Stable tag: 1.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 7.4

Embed the MyRest reservation widget on your site for seamless table bookings. Ideal for restaurants, hotels, and cafes.

== Description ==

The **MyRest Reservation Widget** lets hospitality businesses add a sleek, customizable booking form to any WordPress site. With just a few clicks, your visitors can book a table or service directly from your site.

**Features:**
- Easy widget installation, no coding required
- Mobile-optimized booking interface
- Customizable design
- Supports restaurants, hotels, cafes, and more
- Seamless integration with MyRest's powerful reservation system

Let your customers book anytime, anywhere. Increase your conversions by offering a smooth reservation experience.

== Installation ==
1. Upload the plugin files to `/wp-content/plugins/myrest-widget`, or install directly from the WordPress plugin directory.
2. Activate the plugin through the ‘Plugins’ screen in WordPress.
3. Configure your MyRest account and paste your widget code or enable the widget through settings (if applicable).
4. The widget will appear automatically in the site’s footer (or modify placement using shortcode or template tag).

== Usage ==
1. After activation, navigate to **MyRest** in the WordPress admin menu.
2. Or click **Settings** below the plugin name on the Plugins screen.
3. Enter your unique MyRest code in the provided field.
4. Check **Enable Widget** to add the script to all pages.
5. Save your changes.
6. Adjust the Main, Accent, Secondary, Button Text and Hover colors using the color pickers. Use **Revert to default** to reset any color.
7. Check **Hide button** if you want to hide the trigger on the page. The widget can still be opened with the `mrOpen()` JavaScript function.

== External Services ==
This plugin loads a script from `https://api.myrest.io/integration` whenever the widget is enabled. Your **Unique Code** is passed as the `cn` query parameter each time the script loads so the correct reservation widget appears. The script displays the MyRest reservation widget on your site, allowing visitors to book directly.

For details about how MyRest handles data, see MyRest's [Terms of Service](https://myrest.io/terms) and [Privacy Policy](https://myrest.io/privacy).

== Frequently Asked Questions ==
= Is this free? =
Yes, the plugin is free. A MyRest account is required to configure and activate the widget.

= Does it work with any theme? =
Yes, the widget is responsive and works with all modern WordPress themes.

== Screenshots ==
1. The MyRest widget live on a restaurant website
2. MyRest dashboard configuration (optional)

== Changelog ==
= 1.0.3 =
* Pre release fixes.
= 1.0.2 =
* Minor fixes.
= 1.0.1 =
* Minor fixes.
= 1.0.0 =
* Initial release.

