=== AddonLogic Coming Soon Maintenance Mode ===
Contributors: snehalpancholi
Tags: coming soon, maintenance mode, under construction, countdown, email capture
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display a beautiful coming-soon page with countdown timer and email capture. Admins bypass automatically. Two modes: Coming Soon (200) or Maintenance (503).

== Description ==

Coming Soon Maintenance Mode replaces your site's frontend with a polished, customisable page while you work on it — without affecting the admin area.

**Two modes:**

* **Coming Soon** (200 OK) — pre-launch page for sites not yet live; search engines index it normally
* **Maintenance** (503 Service Unavailable) — scheduled downtime with correct HTTP status for search engines

**Features:**

* Live countdown timer to a configured launch date
* Email capture form with subscriber database and CSV export
* Optional admin notification email on each new subscriber
* Customisable headline, sub-headline, colors, and logo
* Social media links (Twitter/X, Instagram, Facebook, LinkedIn)
* Admin bypass — administrators see the normal site
* Login page always accessible so admins can log in
* Mobile-responsive, zero JavaScript dependencies (CSS-only layout)
* No cookies, no tracking

== Installation ==

1. Upload the `coming-soon-maintenance-mode` folder to `/wp-content/plugins/`
2. Activate the plugin
3. Go to **Coming Soon → Settings** and configure your page
4. Check **Activate coming-soon page** and save

== Frequently Asked Questions ==

= Can I still access the WordPress admin while the page is active? =
Yes. Admins (anyone with `manage_options`) see the normal site and can log in via `/wp-login.php`.

= Will it affect my search engine rankings? =
"Coming Soon" mode sends a 200 OK so search engines may index the page. "Maintenance" mode sends a 503 with `Retry-After: 3600` telling crawlers to come back later.

= Where are subscribers stored? =
In a dedicated custom database table. Export them as CSV from **Coming Soon → Subscribers**.

== Changelog ==

= 1.0.0 =
* Initial release
