=== TechPad – Click to AI Chat ===
Contributors: thetechpad
Tags: click to ai chat, ai chat, chat button, whatsapp chat, web chat, live chat, chat widget, floating chat, whatsapp button, chatbot
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A floating chat button for WordPress, powered by The Tech Pad web chat. Ready-made icons, any position, animations and display rules — every conversation lands in one shared inbox (WhatsApp + web chat).

== Description ==

The Tech Pad **Click to AI Chat** plugin adds a floating chat button to your WordPress site. Click it and visitors are instantly chatting with your team — over the web chat on your site or WhatsApp — with every conversation landing in one shared Tech Pad inbox with automations, campaigns and human handoffs.

* **A real chat window** — not just a link. Visitors type in a chat panel right on your page; replies arrive in your Tech Pad team inbox.
* **8 ready-made launcher icons** — chat bubble, bubble with dots, WhatsApp logo, headset and more, or upload your own image/GIF.
* **Any position** — bottom-right, bottom-left, bottom-centre, side-centre, top corners or fully custom offsets. Separate position and size for **desktop and mobile**.
* **Animations** — pulse, bounce, shake or ring to draw attention.
* **Display rules** — show on the whole site or chosen pages only, hide on specific post types, desktop/mobile only, logged-in/guests only, time or scroll delay, and business-hours scheduling.
* **WhatsApp quick-launch icon** — when your Tech Pad number is connected, visitors get the green WhatsApp icon next to the chat button.
* **AI-powered replies** — the Tech Pad AI Copilot can answer visitors instantly from your dashboard, and hand off to a human any time.
* **Free to start** — sign up at thetechpad.com (free plan), paste your public key, done. No API keys for visitors, no code.
* **Shortcode** — drop an inline chat button anywhere with `[techpad_ai_chat]`.
* **Google Analytics** — optional dataLayer event on every click.

The chat window, greeting, pre-chat form, agent handoffs and automations are all managed from your Tech Pad dashboard — this plugin just puts the button on your site.

== Installation ==

1. Upload the `techpad-click-to-ai-chat` folder to `/wp-content/plugins/`, or install the zip via **Plugins → Add New → Upload Plugin**.
2. Activate the plugin.
3. Go to **Settings → Click to AI Chat**.
4. Paste your **Tech Pad public key** (thetechpad.com → Web Chat settings → publishable key).
5. Pick an icon, position and animation, then **Save settings**.
6. Use the **Preview button** link to see the chat button on your site.

That's it — visitors can chat with you immediately.

== Frequently Asked Questions ==

= Do I need a Tech Pad account? =

Yes — the chat runs on The Tech Pad platform. Sign up free at thetechpad.com and copy your public key from Web Chat settings. Visitors never need an account or an app.

= Can visitors chat on WhatsApp too? =

Yes. When your Tech Pad number is connected, the green WhatsApp quick-launch icon appears next to the chat button, and web chat + WhatsApp conversations all land in the same inbox.

= Where do I find my public key? =

Log in at thetechpad.com → open **Web Chat** settings → copy the **publishable (public) key**. It's safe to embed in your site — it only lets visitors open a chat.

= Can I show the button only on some pages? =

Yes. Under **Display rules** choose "Only on the pages listed below" and enter page URLs or IDs (one per line). You can also hide the button on specific post types, limit it to desktop or mobile, and schedule business hours.

= Can I change the icon? =

Yes — pick from 8 ready-made icons or upload your own image/GIF. Change the button background and icon colours with the colour pickers.

= Can I add the button inside a page, not floating? =

Yes — use the shortcode `[techpad_ai_chat]` (options: `label`, `size`, `icon`, `color`) anywhere in your content.

== Changelog ==

= 1.0.0 =
* Initial release. Floating chat button powered by The Tech Pad web chat: 8 icons, custom icon upload, colours, shapes, desktop/mobile positions, animations, display rules, business hours, WhatsApp quick-launch icon, shortcode, GA tracking and custom CSS.
