=== Salontailor widget integration ===
Contributors: salontailor
Tags: booking, appointment, reservation, widget, salon
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.7
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed the Salontailor booking widget on your WordPress website.

== Description ==

This plugin integrates the Salontailor booking widget on your website so customers can book appointments without leaving your site.

= Features =

* Global floating booking button on every page
* Inline shortcode `[salontailor_widget]` with per-page overrides
* Custom button triggers via `data-salontailor-open`, `#st-action-open`, or `SalontailorWidget.open()`
* Optional auto-open and hide floating button
* WP Consent API registration for compatible cookie banners
* Filters for consent integration

= Support =

Questions? Email support@salontailor.com.

== Installation ==

1. Upload the plugin zip via **Plugins > Add new > Upload plugin**, or install from the WordPress plugin directory.
2. Activate the plugin.
3. Open **Settings > Salontailor** and enter your company ID from the Salontailor portal.

== Frequently Asked Questions ==

= Where do I find my company ID? =

In your Salontailor portal under Widget settings (Public facing ID).

= How do I open the widget from a custom button? =

Add `data-salontailor-open` to any button or link, link to `#st-action-open`, or call `SalontailorWidget.open()` in JavaScript.

== External services ==

This plugin connects your site to the Salontailor booking platform, a service operated by Salontailor, so visitors can check availability and book appointments without leaving your site.

When the booking widget is displayed, your site loads a script from Salontailor's servers (`https://widget.salontailor.com/embed.js`) and the widget communicates with Salontailor's API (`https://api.salontailor.com`). Only the company ID and display settings you configure in **Settings > Salontailor** are sent automatically. Any information a visitor enters into the widget (such as name, email, or phone number) is submitted directly to Salontailor to process the booking; this plugin does not collect or store that data itself.

The plugin registers with the WP Consent API so the widget script can be gated behind your site's cookie-consent solution.

Terms of use and privacy policy: https://www.salontailor.com

== Screenshots ==

1. The Salontailor settings screen under Settings > Salontailor.

== Changelog ==

= 1.1.7 =
* Source strings are now written in English instead of Dutch, as required for WordPress.org translation projects; Dutch is now a regular translated locale (nl_NL, nl_BE).

= 1.1.6 =
* No functional changes. Added a settings-screen screenshot for the WordPress.org listing page.

= 1.1.5 =
* No functional changes. Added plugin icon and banner assets for the WordPress.org listing page.

= 1.1.4 =
* Use a literal text domain string instead of a constant in translation calls (required by WordPress.org's i18n scanner).
* Removed the Domain Path header (no bundled language files are shipped anymore).

= 1.1.3 =
* Removed the Plugin URI header (was identical to the Author URI).

= 1.1.2 =
* Documented the external service this plugin connects to.

= 1.1.1 =
* Tested up to WordPress 7.1.

= 1.1.0 =
* Simplified settings: company ID only required; SDK and API URLs are configured automatically.
* Settings menu renamed to Salontailor.
* Support contact shown on the settings page.
* Full translations for all Salontailor website languages.

= 1.0.0 =
* Initial release.
