=== Motagaweb AI Chat ===
Contributors: motagaweb
Tags: chat, chatbot, faq, ai, customer support, arabic
Requires at least: 5.6
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds the Motagaweb AI-powered FAQ chat widget to your WordPress site — no code editing required.

== Description ==

Motagaweb answers your website visitors' questions automatically, 24 hours a day, based strictly on the FAQ content you provide. This plugin adds the Motagaweb chat widget to your WordPress site with no theme editing and no code required.

**What this plugin does for you:**

* Adds the chat widget to every page of your site automatically
* Helps complete domain verification on Motagaweb without editing your theme's header
* Lets you test your connection to Motagaweb directly from your WordPress admin
* Updates itself automatically when a new version is released — no manual downloads

**Setup:**

1. Register a free account at [motagaweb.com](https://motagaweb.com) and verify your domain.
2. Install and activate this plugin.
3. Go to Settings → Motagaweb Chat and paste in your site key.
4. That's it — the chat widget is now live on your site.

If your domain isn't verified yet, paste the verification token from your Motagaweb dashboard into the "Domain Verification Token" field first; this plugin will add it to your site's `<head>` automatically so you can click "Verify now" on Motagaweb without touching any code.

== Installation ==

1. Upload the plugin files, or install the .zip directly through Plugins → Add New → Upload Plugin in your WordPress admin.
2. Activate the plugin.
3. Go to Settings → Motagaweb Chat and enter your site key.

== Frequently Asked Questions ==

= Do I need to know how to code? =

No. Everything is configured from the plugin's settings page inside your WordPress admin.

= Where do I get a site key? =

From your Motagaweb dashboard, under Domains → your domain → Install Code, after your domain has been verified.

= Does this plugin slow down my site? =

The widget itself loads asynchronously and doesn't block your page from rendering.

== Changelog ==

= 1.0.2 =
* Renamed to "Motagaweb AI Chat" for clarity in the WordPress plugin list. This is a display-name-only change — nothing else about how the plugin works changed.

= 1.0.1 =
* Fixed: the chat widget's script tag could be silently stripped by some caching/JavaScript-optimization plugins (WP Rocket, LiteSpeed Cache, Autoptimize, and similar), causing the widget to disappear on some pages. The widget is now registered through WordPress's own script API instead of being printed directly, which these plugins handle correctly.

= 1.0.0 =
* Initial release: automatic widget installation, domain verification helper, and self-updating from motagaweb.com.
