=== Ark Vision AI Widget ===
Contributors: arksolutions888
Tags: ai chat, chatbot, customer service, ai assistant, live chat
Requires at least: 5.6
Tested up to: 6.9
Stable tag: 1.0.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an AI-powered customer service agent to your WordPress site in one click.

== Description ==

**Ark Vision AI Widget** lets you add a fully trained AI customer service agent to your WordPress site in under two minutes — no coding, no developer needed.

Once connected, your AI agent answers customer questions 24/7, handles support queries, and escalates to your team when needed — directly on your website.

= How it works =

1. Create a free account at [arkvision.arksolutionsglobal.com](https://arkvision.arksolutionsglobal.com)
2. Train your AI agent with your FAQs, product info, and support docs
3. Copy your Widget Token from the Ark Vision dashboard
4. Paste it into the plugin settings — your agent is live instantly

= Features =

* **Instant setup** — paste your token and your agent appears on every page
* **Trained on your content** — upload your knowledge base, PDFs, and FAQs
* **Multilingual** — supports English, Arabic, French, German, Spanish, Hindi, Italian, and Armenian
* **Customisable position** — bottom right or bottom left
* **Page exclusions** — hide the widget on specific pages (checkout, cart, etc.)
* **Shortcode support** — use `[ark_vision_widget]` to embed on specific pages only
* **Zero performance impact** — script loads deferred after page content
* **Works with any theme** — lightweight, no dependencies

= Privacy =

This plugin loads a script from `arkvision.arksolutionsglobal.com` in the footer of your site when a valid Widget Token is configured. No data is collected by the plugin itself. For full details see the [Ark Vision Privacy Policy](https://arkvision.arksolutionsglobal.com/privacy).

== Installation ==

**From WordPress dashboard (recommended):**

1. Go to Plugins → Add New
2. Search for "Ark Vision AI Widget"
3. Click Install Now, then Activate

**Manual install:**

1. Download the plugin zip
2. Go to Plugins → Add New → Upload Plugin
3. Upload the zip and activate

**Setup:**

1. Go to Settings → Ark Vision Widget
2. Paste your Widget Token (get it from your [Ark Vision dashboard](https://arkvision.arksolutionsglobal.com/dashboard/widget))
3. Click Save settings — your agent is live

== Frequently Asked Questions ==

= Where do I get my Widget Token? =

Log in to your Ark Vision dashboard at arkvision.arksolutionsglobal.com, go to **Widget** in the left sidebar, select your widget, and copy the Widget Token shown on the right panel.

= Do I need an Ark Vision account? =

Yes. The widget requires an active Ark Vision account with a configured AI agent. Start with a free trial at [arkvision.arksolutionsglobal.com](https://arkvision.arksolutionsglobal.com/signup) — no charge until you upgrade.

= Will this slow down my site? =

No. The widget script loads with the `defer` attribute — it is fetched after your page content finishes loading and has no impact on page speed or Core Web Vitals.

= Can I hide the widget on specific pages? =

Yes. Enter comma-separated page slugs in the "Hide on these pages" field in the settings. For example: `checkout, cart, my-account`

= Can I place the widget on the left side? =

Yes. Choose Bottom Left in the Widget Position setting under Settings → Ark Vision Widget.

= How do I use the shortcode? =

Add `[ark_vision_widget]` to any page or post. Useful when you want the widget on specific pages only — uncheck "Show chat widget on all pages" first, then add the shortcode where you want it.

= What languages does the AI agent support? =

English, Arabic, French, German, Spanish, Hindi, Italian, and Armenian. The agent automatically detects and responds in the customer's language.

= Is the widget GDPR compliant? =

Ark Vision processes conversations on secure EU and UAE infrastructure. For full details, review the [Ark Vision Privacy Policy](https://arkvision.arksolutionsglobal.com/privacy).

= Can I customise the widget appearance? =

Colours, greeting message, and avatar are configured from your Ark Vision dashboard under Agent Settings — no code changes needed.

== Screenshots ==

1. The Ark Vision Widget settings page — paste your token and go live in seconds.
2. The AI widget live on a WordPress site, answering a customer question.

== Changelog ==

= 1.0.8 =
* Added widget position selector — choose bottom right or bottom left.
* Added page exclusions — hide the widget on specific pages by slug.
* Added shortcode [ark_vision_widget] for manual placement on individual pages.

= 1.0.7 =
* Improved script loading using wp_enqueue_scripts with async strategy.
* Added token format validation.
* Added uninstall cleanup hook.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.8 =
New: position selector, page exclusions, and shortcode support.
