=== UnravelX Chatbot ===
Contributors: unravelx
Tags: chatbot, ai, live chat, customer support, sales
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add your UnravelX AI chatbot to your WordPress site in seconds. No coding required.

== Description ==

UnravelX is an AI-powered sales and support chatbot that helps businesses convert website visitors into leads.

This plugin lets you connect your WordPress site to your UnravelX chatbot in under a minute:

1. Install and activate this plugin
2. Go to **Settings → UnravelX Chatbot**
3. Paste your Chatbot ID (found in your UnravelX dashboard)
4. Enable the chatbot and save

The chatbot button will appear on every page of your site automatically.

**Features:**

* One-field setup — just your Chatbot ID
* Enable / disable without losing your settings
* Clean uninstall — no leftover data
* No coding required

**Requirements:**

* An active [UnravelX](https://unravelx.com) account
* Your Chatbot ID from the UnravelX dashboard

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/unravelx-chatbot/`, or install directly through the WordPress Plugins screen.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Settings → UnravelX Chatbot**.
4. Enter your Chatbot ID and enable the chatbot.
5. Save. Done.

== Frequently Asked Questions ==

= Where do I find my Chatbot ID? =

Log in to your UnravelX dashboard at app.unravelx.com, open your chatbot's settings, and copy the ID shown there.

= The chatbot isn't showing up. What do I do? =

Try clearing your site cache and visiting the site in a private/incognito window. If it still doesn't appear, make sure the Enable toggle is on and the Chatbot ID is saved correctly.

= Does this slow down my site? =

No. The chatbot script loads asynchronously and deferred, so it does not block page rendering.

= What data does this plugin store? =

Only your Chatbot ID and the enabled/disabled state, stored in wp_options. No visitor data is collected by the plugin itself.

== Screenshots ==

1. The settings page — enter your Chatbot ID and enable.
2. Status card showing the chatbot is live.

== Changelog ==

= 1.0.5 =
* Update chatbot widget behavior.

= 1.0.3 =
* Fix widget root detection when loaded through the WordPress script loader.

= 1.0.2 =
* Add compatibility with WordPress 7.0.
* Load the frontend widget through the WordPress script loader.
* Include frontend widget asset in the plugin package.

= 1.0.1 =
* Add plugin icon assets.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.5 =
Updates chatbot widget behavior.

= 1.0.3 =
Fixes the chatbot button not appearing on pages.

= 1.0.2 =
Adds WordPress 7.0 compatibility and includes the frontend widget asset.

= 1.0.1 =
Adds plugin icon assets.

= 1.0.0 =
Initial release.
