=== ChatReact - AI Chat Widget, Forms & FAQ ===
Contributors: chatreact
Tags: chatbot, ai chat, live chat, faq, contact form
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.25
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed AI-powered chat widgets, contact forms, and FAQ accordions on your WordPress site.

== Description ==

ChatReact is a powerful AI chatbot platform that helps businesses automate customer support and engage visitors 24/7. This WordPress plugin makes it easy to embed ChatReact widgets on your website.

= Features =

* **AI Chat Widget** - Add an intelligent chatbot that answers customer questions automatically
* **Contact Forms** - Embed customizable contact forms
* **FAQ Accordion** - Display your FAQs in a beautiful accordion format
* **Multiple Widgets** - Use different chatbots on different pages
* **Multilingual** - Supports 24 languages
* **Gutenberg Blocks** - Native block editor support
* **Elementor Integration** - Dedicated Elementor widgets
* **Classic Widgets** - For legacy themes

= Shortcodes =

**Chat Widget:**
`[chatreact id="YOUR_CHATBOT_ID"]`

Optional attributes: `position`, `language`, `primary_color`, `auto_open`

**Contact Form:**
`[chatreact_form id="YOUR_FORM_ID"]`

Optional attributes: `language`

**FAQ Accordion:**
`[chatreact_faq id="YOUR_CHATBOT_ID"]`

Optional attributes: `categories`, `container`, `language`

= Requirements =

* A ChatReact account ([Sign up free](https://www.chatreact.ai))
* At least one configured chatbot in your ChatReact dashboard

= Support =

For help and documentation, visit [chatreact.ai/docs](https://chatreact.ai/docs) or contact our support team.

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/chatreact/` or install through the WordPress plugins screen
2. Activate the plugin through the 'Plugins' screen in WordPress
3. Go to Settings → ChatReact for usage instructions
4. Copy your Chatbot ID from the ChatReact dashboard
5. Add a shortcode, Gutenberg block, or widget to your pages

== Frequently Asked Questions ==

= Where do I find my Chatbot ID? =

Log in to your ChatReact dashboard at www.chatreact.ai, select your chatbot, go to Settings, and copy the Chatbot ID.

= Where do I find my Form ID? =

Log in to your ChatReact dashboard, go to Forms, select your form, and copy the Form ID.

= Can I use different chatbots on different pages? =

Yes! Each shortcode, block, or widget accepts its own ID, so you can use different chatbots on different pages.

= Is the chat widget mobile-friendly? =

Yes, the chat widget is fully responsive and works great on all devices.

= What languages are supported? =

The plugin supports 24 EU languages: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Irish, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Slovak, Slovenian, Spanish, and Swedish.

= Does the widget slow down my site? =

No, the widget scripts are loaded asynchronously and don't block page rendering.

== Screenshots ==

1. Plugin settings page with Widget Assignments tab
2. Chat widget floating on a website
3. Gutenberg block editor integration
4. FAQ accordion widget on frontend
5. Contact form embedded on a page

== Changelog ==

= 1.0.25 =
* Added Exclude URLs feature for "Everywhere" widget assignments
* Allows excluding specific URLs or URL patterns (with wildcards) from widget display
* New inline editing for exclude URLs in assignments table

= 1.0.24 =
* Simplified plugin architecture - all widget settings are now configured centrally in the ChatReact Dashboard
* Removed redundant shortcode attributes (position, language, primary_color, auto_open) - settings come from Dashboard
* Removed Classic Widgets (Sidebar) - use Gutenberg Blocks, Shortcodes, or Elementor instead
* Fixed FAQ Widget not loading when URL contains version parameter
* Added Widget Assignments feature - assign chatbots to specific pages directly from plugin settings
* Added Post Types configuration for widget assignment search
* Improved admin interface with modern tabbed design
* Updated all 24 language translations

= 1.0.0 =
* Initial release
* Chat widget shortcode and block
* Form widget shortcode and block
* FAQ widget shortcode and block
* Gutenberg blocks support
* Classic widgets support
* Elementor integration
* 24 language translations

== Upgrade Notice ==

= 1.0.24 =
Major update: Widget settings are now managed in the ChatReact Dashboard. Classic Widgets removed - please use Gutenberg Blocks, Shortcodes, or Elementor.

= 1.0.0 =
Initial release of the ChatReact WordPress plugin.
