=== Ask Innovation Widget ===
Contributors: askinnovation
Tags: chatbot, live chat, ai, widget, customer service
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 1.0.2
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

This will be used with our Ask Innovation widget to inject the AI chatbot into all pages in one go.

== Description ==

This will be used with our Ask Innovation widget to inject the AI chatbot into all pages in one go. Currently we give it to our clients as a zip file, but with the increasing demand it'll be easier if they download it directly from your library.

Once activated, simply enter your instance URL and website token on the settings page (Settings > Ask Innovation) and the chatbot loads automatically on every page of your site — no manual code snippets, no theme edits, no hassle.

= Key Features =

* Zero-config setup — enter 2 fields and you're done
* Injects the widget on all pages automatically via footer hook
* Live code preview on the settings page to verify your configuration
* Lightweight — adds a single script tag, no bloat
* Quick "Settings" link from the plugins list for easy access

== Installation ==

1. Upload the `ask-innovation-widget` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu
3. Go to Settings > Ask Innovation
4. Enter your Ask Innovation instance URL and website token
5. Save — the widget is now live on your site

== Frequently Asked Questions ==

= Where do I find the website token? =

In your Ask Innovation dashboard, go to Settings > Inboxes > select your Web Widget inbox > Installation tab. The token is shown in the code snippet.

= Can I customize the widget position or appearance? =

Yes — edit the `window.chatwootSettings` object in the plugin code, or configure it directly from your Ask Innovation dashboard under the inbox settings.

== Changelog ==

= 1.0.2 =
Fixed: Use askinwi_ prefix (> 4 chars) for all constants, options, and settings groups to avoid naming conflicts.
Updated PHP version to 1.0.2.

= 1.0.1 =
Fixed: Use wp_enqueue_script instead of inline script tag for WordPress compliance.

= 1.0.0 =
Initial release.
