=== ReplyPier Chat ===
Contributors: replypier
Tags: chat, live chat, chatbot, ai, customer support
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add the ReplyPier AI customer-support chat widget to your WordPress site. Enter your Widget ID and the chat launcher appears on every page.

== Description ==

ReplyPier is an AI-powered customer-support chat widget. This plugin adds the ReplyPier chat launcher to your WordPress site without editing any theme files.

Set your Widget ID once under **Settings → ReplyPier Chat**, and the chat bubble appears on the front end of every page. Because the widget is loaded from ReplyPier's hosted service, it always stays up to date — there is nothing to rebuild when ReplyPier ships improvements.

**Features**

* One-click setup — paste your Widget ID and you're done.
* No theme edits — the widget is injected via the standard footer hook and survives theme changes and updates.
* Self-host friendly — an optional Script URL field lets ReplyPier self-hosters point at their own instance.
* Lightweight — the plugin ships no bundled JavaScript; it only loads the widget from ReplyPier.

You'll need a ReplyPier account and a Widget ID. Create one at [replypier.site](https://replypier.site).

== External services ==

This plugin connects to ReplyPier, a third-party hosted service, to provide the chat widget. This is required for the plugin to function.

* When a page on your site loads, the plugin loads the ReplyPier widget script from `https://app.replypier.site/webclient/replypier.min.js` (or a custom Script URL you configure for a self-hosted ReplyPier instance).
* The loaded widget then communicates with the ReplyPier API (`https://api.replypier.site`) to fetch widget configuration and to send and receive chat messages entered by your site visitors.
* Data sent to ReplyPier includes your Widget ID and any chat messages, name, or email a visitor voluntarily provides in the chat, along with standard request metadata (such as IP address and browser user-agent) sent with any web request.

No data is sent to ReplyPier until a page containing the widget is loaded. For details, see the ReplyPier [Terms of Service](https://replypier.site/terms) and [Privacy Policy](https://replypier.site/privacy).

== Installation ==

1. Upload the plugin to the `/wp-content/plugins/` directory, or install it through the WordPress **Plugins** screen directly.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to **Settings → ReplyPier Chat**.
4. Enter your **Widget ID** from your ReplyPier dashboard and save.
5. Visit the front end of your site — the chat launcher now appears.

== Frequently Asked Questions ==

= Where do I find my Widget ID? =

Log in to your ReplyPier dashboard, open the AI Agent you want to embed, and copy the Widget ID shown in its embed / launch settings. See the [widget documentation](https://docs.replypier.site/features/widget).

= Do I need a ReplyPier account? =

Yes. The plugin displays a widget hosted by ReplyPier, so you need a ReplyPier account and a Widget ID. You can create one at [replypier.site](https://replypier.site).

= I self-host ReplyPier. Can I use this plugin? =

Yes. Set the **Script URL** field on the settings page to your own instance's `/webclient/replypier.min.js` URL.

= The widget isn't showing up. =

Confirm you saved a Widget ID under **Settings → ReplyPier Chat**, that your theme calls `wp_footer()` (nearly all do), and that no caching or ad-blocking layer is stripping the script. The widget renders only on the front end, not in the admin.

== Screenshots ==

1. The ReplyPier Chat settings screen where you enter your Widget ID.

== Changelog ==

= 1.0.0 =
* Initial release: inject the ReplyPier chat widget via a Widget ID setting, with an optional Script URL override for self-hosted instances.
