=== Linquo Live Chat ===
Contributors: linquolab
Author: Linquo LLC
Author URI: https://linquo.app/
Tags: live chat, chat, customer support, chat widget, helpdesk
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.2
Stable tag: 1.0.0
Plugin URI: https://www.linquo.app/integrations/wordpress
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Add a live chat widget to your WordPress site with Linquo. Chat with your website visitors and provide customer support in real time. 💬

== Description ==

Linquo is a live chat app for WordPress. Add the Linquo chat widget to your website to talk with your visitors, answer questions, and provide customer support in real time — straight from your Linquo dashboard.

Connect your site once from inside your WordPress admin, and the Linquo chat widget appears on the front end automatically. Manage all of your conversations from your Linquo dashboard, which opens in a new browser tab.

= ✨ Why use Linquo Live Chat? =
- **Real-time customer support** — Answer visitor questions instantly with a live chat widget on every page.
- **Connect in seconds** — Sign in with your Linquo account and your site is linked automatically.
- **One-click setup** — Connect your site and the widget is added for you. No code, no theme edits.
- **Lead generation** — Start conversations with visitors and turn interest into customers.
- **Lightweight & fast** — The widget loads asynchronously and won't slow down your site.
- **Works everywhere** — Fully responsive on desktop and mobile.

= 🪄 Manage Linquo from anywhere =
Connect your site from the WordPress admin, then manage conversations in the Linquo web app (it opens in a new browser tab). When you connect your site, the live chat widget is added to your website. If you disconnect or remove the plugin, the widget is removed.

= 👋 Linquo account =
A Linquo account is required. Create a free account at https://linquo.app, connect your site from the plugin's admin page, and your chat widget will appear on your website.

== External services ==

This plugin connects your WordPress site to Linquo (https://linquo.app), a third-party live chat service, to provide the chat widget and dashboard. It requires a Linquo account.

1. Authentication. When you submit the login form on the plugin's admin page, your Linquo email and password are sent from your browser to Linquo's servers to create a session. Your password is never stored by the plugin; only the resulting session token is kept in your browser to keep you signed in. This happens only when you submit the login form.

2. Account lookup. Right after you sign in, the plugin retrieves your Linquo Organization ID from Linquo's API so it can enable the chat widget for your account. This happens once, right after you sign in. The full Linquo dashboard opens in a new browser tab at `https://admin.linquo.app/dashboard`; it is not embedded in WordPress.

3. Chat widget. On your site's front end, the chat widget loader script is loaded from `https://admin.linquo.app/widget.js` using your Linquo Organization ID, so the widget can be shown to your visitors. This happens on every front-end page view once connected.

Data sent to these services is governed by Linquo's policies:

- Terms of Service: https://www.linquo.app/terms-of-service
- Privacy Policy: https://www.linquo.app/privacy-policy

== Source code and third-party libraries ==

This plugin bundles the official Supabase JavaScript client (@supabase/supabase-js, MIT license) at `assets/js/supabase.min.js`. It is used to sign in to your Linquo account and look up your Organization ID. Upstream source and unminified code: https://github.com/supabase/supabase-js — distribution build: https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2/dist/umd/supabase.js. No build step is required.

== Installation ==

1. Upload the `linquo-live-chat` folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress Plugins screen directly.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Go to the **Linquo** menu in your admin sidebar.
4. Sign in with your Linquo account email and password. Your site is connected automatically.
5. The chat widget now appears on your website. Use **Open Linquo Dashboard** to manage conversations in the Linquo web app.

== Frequently Asked Questions ==

= Do I need a Linquo account? =
Yes. Create a free account at https://linquo.app, then sign in from the plugin's admin page.

= How do I connect my site? =
Open the **Linquo** menu in WordPress and sign in with your Linquo email and password. The plugin connects your site automatically — there is nothing to copy or paste.

= Why sign in with email and password? =
Signing in with your Linquo email and password lets the plugin securely look up your account and connect your site automatically. You can manage everything else — including Google sign-in — in the Linquo web app.

= How do I remove the chat widget? =
Click **Disconnect this site** on the plugin's page, or deactivate/delete the plugin. The widget is removed from your site.

= Will it slow down my site? =
No. The widget loader is small and loads asynchronously, so it does not block your page rendering.

= How do I get support? =
Email us at support@linquo.app, or visit https://linquo.app/help. Linquo Live Chat is built by Linquo LLC (https://linquo.app/).

== Screenshots ==

1. Live chat, tickets, and AI replies — every conversation in one unified inbox.
2. A real-time chat widget on your site — visitors start a conversation in one click.
3. Built-in support tickets — turn any chat into a tracked ticket.
4. On-site pop-ups and announcements — share offers and capture leads.
5. Engagement intents — greet visitors and turn browsers into customers.

== Changelog ==

= 1.0.0 =
* Initial release.
* Sign in with your Linquo account to connect your site and add the live chat widget.
* Manage conversations from the Linquo dashboard, opened in a new browser tab.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Linquo Live Chat.
