=== Showpage ===
Contributors: maksuco
Tags: widget, link in bio, woocommerce, chat, contact
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your Showpage widget to your WordPress or WooCommerce site. Just enter your Showpage ID.

== Description ==

[Showpage](https://showpage.app) lets you build a page of links, contact options, forms and products. The Showpage widget shows it on your own website as a floating button.

This plugin adds the widget to every front-end page of your site:

1. Set up your widget in your Showpage account.
2. Enter your Showpage ID in **Showpage** in the WordPress admin.
3. Turn the widget on.

Works with any theme, and with WooCommerce stores.

To show your WooCommerce products on Showpage, connect your store in Showpage under **Settings → Integrations → WooCommerce**. That uses WooCommerce's own API, so no extra plugin is needed for it.

== External services ==

This plugin connects to Showpage, a third-party service run by Showpage (https://showpage.app).

When the widget is turned on, every front-end page loads your account's widget script from Showpage (for example `https://s3.showpage.app/biz/123/widget.js`). The visitor's browser sends the usual request data (IP address, user agent, page URL) to Showpage. Nothing is loaded while the widget is off.

Showpage terms: https://showpage.app/terms-conditions
Showpage privacy policy: https://showpage.app/privacy

== Installation ==

1. Install the plugin from the **Plugins → Add New** screen, or upload the plugin folder to `/wp-content/plugins/`.
2. Activate it on the **Plugins** screen.
3. Open **Showpage** in the admin menu.
4. Enter your Showpage ID — the number in your widget embed code (`…/biz/123/widget.js`). You can also paste the whole embed code.
5. Check **Enable Widget** and save.

== Frequently Asked Questions ==

= Where do I find my Showpage ID? =
In your Showpage account, open **Widget**. The ID is the number in the embed code: `https://s3.showpage.app/biz/123/widget.js` → `123`.

= Does it slow my site down? =
No. The script loads asynchronously in the footer.

= What happens when I delete the plugin? =
Your settings are removed from the database.

== Changelog ==

= 1.1.0 =
* The widget is set up with your Showpage ID.
* The widget script loads through the WordPress script queue.
* Admin screens are translatable.
* Declared compatibility with WooCommerce HPOS and the block checkout.
* Settings are removed when the plugin is deleted.

= 1.0.0 =
* Initial release.
