=== WP Simple Maintenance ===
Contributors: mamunitiw
Tags: maintenance, coming soon, under construction, landing page, countdown
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 2.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Simple WordPress maintenance & coming soon plugin. Countdown timer, email subscribe, fullscreen backgrounds, social links and more.

== Description ==

***WP Simple Maintenance** lets you put your WordPress site into maintenance or coming soon mode with a beautiful, fully customizable page — in seconds.

Version 2.0 is a complete rewrite with modern features, improved security, and full WordPress 6.8 compatibility.

= ✨ What's New in v2.0 =

* **Maintenance vs Coming Soon mode** — HTTP 503 for maintenance (SEO safe), HTTP 200 for coming soon
* **Email Subscribe form** — collect visitor emails while your site is down, with CSV export
* **Progress bar** — show how far along you are
* **Tabbed admin settings** — clean, organized, easy to use
* **Live Preview button** — see your page without enabling it for visitors
* **SEO meta tags** — set custom page title and description
* **Accent color control** — one color changes buttons, countdown, badge, progress bar
* **Custom CSS & HTML** — full control for advanced users
* **Google Analytics support** — track your maintenance page visitors
* **Subscriber CSV export** — download all collected emails
* **PHP 8.x compatible**
* **WordPress 6.8 compatible**

= 🎨 Template Features =

* Fullscreen background — solid color, image, or MP4 video
* Overlay color & opacity control
* 10 Google Fonts to choose from
* Logo upload with width control
* Maintenance / Coming Soon badge with animated dot
* Countdown timer to launch date
* Animated progress bar with label
* Email subscribe form with AJAX (no page reload)
* Social links — Facebook, X/Twitter, Instagram, LinkedIn, YouTube
* Fully responsive — looks great on all screen sizes
* Smooth fade-in animation on page load

= ⚙️ Admin Settings =

All settings are under **Settings → WP Maintenance**:

* **General** — Enable/disable, mode, exclude logged-in users, excluded pages
* **Design** — Background type/color/image/video, overlay, fonts, text color, accent color
* **Content** — Logo, title, description
* **Features** — Countdown timer, progress bar, email subscribe
* **Social** — All social platform links
* **Advanced** — SEO, Google Analytics, custom CSS/HTML

== Installation ==

1. Upload the plugin to `/wp-content/plugins/wpsimple-maintenance/` or install via **Plugins → Add New**.
2. Activate the plugin.
3. Go to **Settings → WP Maintenance** to configure.
4. When ready, enable maintenance mode and save.

== Frequently Asked Questions ==

= Will my logged-in admin account see the maintenance page? =
No. By default, logged-in users are excluded. You always see the real site while editing.

= What's the difference between Maintenance and Coming Soon mode? =
Maintenance sends HTTP 503 (Service Unavailable) — this tells search engines your site is temporarily down and to come back later. Coming Soon sends HTTP 200 (OK) — better for new sites not yet indexed.

= How do I collect subscriber emails? =
Enable the Subscribe form under Features tab. Emails are stored in your WordPress database. You can export them as CSV from the same tab.

= Can I keep some pages publicly accessible during maintenance? =
Yes. Enter page slugs or IDs (comma-separated) in the "Excluded Pages" field under General settings.

= Does it work with any theme? =
Yes. The maintenance page completely replaces the theme output, so it works with any WordPress theme.

== Screenshots ==

1. Admin Settings — General tab
2. Admin Settings — Design tab
3. Admin Settings — Features tab (Countdown, Progress, Subscribe)
4. Frontend — Maintenance mode with countdown timer
5. Frontend — Coming Soon mode with subscribe form
6. Frontend — With fullscreen image background

== Changelog ==

= 2.0.0 =
* Complete rewrite for WordPress 6.8 and PHP 8.x compatibility
* Added Maintenance vs Coming Soon mode with correct HTTP status codes
* Added email subscribe form with AJAX submission and CSV export
* Added progress bar with animated fill and custom label
* Added tabbed admin settings panel
* Added live preview button for admins
* Added SEO meta title and description fields
* Added accent color control
* Added Google Analytics ID field
* Added custom CSS and custom HTML fields
* Added subscriber count display in admin
* Added smooth fade-in animation on frontend
* Improved countdown timer (no jQuery dependency)
* Improved security: nonces, sanitization, escaping throughout
* Improved responsive design for all screen sizes
* Removed dead external demo link

= 1.0 =
* First Release

== Upgrade Notice ==

= 2.0.0 =
Major update with new features and full WordPress 6.8 / PHP 8.x compatibility. All existing settings are preserved. Visit Settings → WP Maintenance after upgrading to explore new options.
n template Settings-2

== Changelog ==

= 1.0 =
* First Release.

