=== Eshu for WordPress ===
Contributors: eshu
Tags: whatsapp, contacts, marketing, signup
Requires at least: 7.0
Requires PHP: 8.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Collect explicit WhatsApp consent through a signup form and announce new posts through your Eshu contact list. WooCommerce is not required.

== Description ==

Add [eshu_signup] to any page with the Shortcode block. Visitors enter their name and international WhatsApp number and explicitly agree to receive messages. They are added to the Eshu contact list selected in plugin settings. Existing Eshu opt-outs are respected.

Optionally, send a campaign to the selected list when a regular WordPress post is published for the first time. The announcement option is disabled until an administrator enables it. WhatsApp sending uses your connected Eshu number and your plan's quota.

An active Eshu Pro, Business, or Lifetime subscription is required.

== Installation ==

1. Upload eshu-wordpress.zip under Plugins > Add New > Upload Plugin and activate it.
2. Open Settings > Eshu WordPress.
3. Enter an API key from Eshu > Settings > API keys. Save and test the connection.
4. Select an Eshu contact list and a connected WhatsApp number.
5. Add [eshu_signup] to a page. Optionally enable new post announcements.

You may set ESHU_API_KEY in wp-config.php instead of entering it in plugin settings. A saved key is never displayed.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

No. It works on a regular WordPress site. The Eshu WooCommerce plugin is separate and can be installed alongside it.

= Are visitors enrolled automatically? =

No. The signup form requires an unchecked consent box. Announcements are off by default.

= When are announcements sent? =

When a regular post first enters the published state, WordPress schedules an announcement. WP-Cron runs scheduled events when the site receives traffic, unless a system cron is configured. Later edits do not trigger another campaign.

== Changelog ==

= 1.0.1 =

* Refresh the Eshu logo, plugin icon and settings header.
