=== lnduc Live Chat for OmniPost ===
Contributors: lnduc
Tags: live chat, chat, chat widget, customer support, messaging
Requires at least: 5.6
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Integrate OmniPost Live Chat into your WordPress website. Receive and respond to visitor messages directly from the OmniPost dashboard.

== Description ==

OmniPost Live Chat allows you to:

* Add a chat widget to your WordPress website in minutes
* Receive messages from website visitors directly inside OmniPost
* Reply instantly from the OmniPost dashboard
* Manage all your chat channels (Facebook, Zalo, Telegram, WordPress) in one place
* Optionally collect visitor name and email before the chat starts
* Customize widget title, welcome message, offline message, color, and position

== Installation ==

1. Download the ZIP file and upload it via WordPress Admin &rarr; Plugins &rarr; Add New &rarr; Upload Plugin.
2. Activate the plugin.
3. Go to Settings &rarr; OmniPost Chat.
4. Enter your Site Token obtained from OmniPost &rarr; Channels &rarr; WordPress &rarr; Configure Live Chat.
5. Enable "Activate widget" and save settings.

== Frequently Asked Questions ==

= Where do I get the Site Token? =

Log in to your OmniPost account, go to Channels, select your WordPress channel, click the Live Chat icon, and copy the Site Token.

= Does it work with caching plugins? =

Yes. The widget script is loaded on the front-end via wp_enqueue_script, so it is compatible with most caching plugins.

== Screenshots ==

1. Admin settings page — configure Site Token, widget color, position, and more.
2. Live chat widget displayed on the front-end of your website.

== Changelog ==

= 1.0.0 =
* Initial release.
* Chat widget with optional name/email collection form.
* Real-time polling to receive agent replies.
* OmniPost AI Chatbot support.
* Responsive design for mobile devices.
