=== Qafka Chat Widget ===
Contributors: qafka
Tags: chat, ai, chatbot, widget, support
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embeds the Qafka AI chat/voice widget on your WordPress site.

== Description ==

Qafka Chat Widget adds the Qafka AI assistant to your site. Enter your
Qafka publishable key, enable the widget, and it appears on every page.
The widget code is loaded from the Qafka CDN — no assets are stored on
your server.

Settings live under **Settings → Qafka**:

* **Enable widget** — turn the widget on or off without removing the plugin.
* **API key** — your Qafka publishable key (`qafka_pk_...`).
* **Language** — auto-detect the visitor's language, or force Turkish/English.
* **Opening mode** — use the project's Chat Theme setting, or force the side
  panel (docks beside the page) or the popup (floats over the page) on this site.
* **Cursor navigation** — when the assistant takes a visitor to another page,
  a cursor moves to the matching link and clicks it.

== Installation ==

1. Upload the `qafka` folder to `/wp-content/plugins/`, or install the zip
   via Plugins → Add New → Upload Plugin.
2. Activate the plugin.
3. Go to **Settings → Qafka**, paste your API key, check **Enable widget**,
   and save.

== Frequently Asked Questions ==

= Where do I get an API key? =

From your Qafka dashboard at https://qafka.com.

= Does this store any data on my server? =

No. The plugin only stores your settings. The widget itself is served from
the Qafka CDN and talks to Qafka directly from the visitor's browser.

== Changelog ==

= 0.2.0 =
* Opening mode setting: force side panel or popup on this site.
* Cursor navigation setting.
* The loader is enqueued with wp_enqueue_script (async, footer) instead of printed by hand.
* Licensed under GPLv2 or later.
* Tested with WordPress 7.1.

= 0.1.0 =
* Initial release: settings page + CDN loader embed.
