=== Maintenance Mode ===
Contributors: snehalpancholi
Tags: maintenance, coming soon, under construction, maintenance page, 503
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

Serve a beautiful, customisable maintenance / coming-soon page to visitors while you work. Admins see the real site.

== Description ==

Maintenance Mode gives you full control over what non-logged-in visitors see while your site is being built or updated.

**Key Features:**

* Simple ON/OFF toggle in Settings → Maintenance Mode
* Custom page title, heading, and rich-text message
* Pick your background colour, text colour, and accent colour
* Optional live countdown timer to a target date/time (vanilla JS, no jQuery)
* Custom CSS textarea for advanced styling
* Returns proper HTTP 503 with Retry-After header
* Logged-in admins see the real site and get an admin-bar indicator
* Lightweight – no external libraries, no page-builder dependency

== Installation ==

1. Upload the `maintenance-mode` folder to `/wp-content/plugins/`.
2. Activate the plugin through the **Plugins** screen.
3. Go to **Settings → Maintenance Mode** and configure your page.
4. Tick **Enable Maintenance Mode** and save.

== Frequently Asked Questions ==

= Will search engines index the maintenance page? =
No. The plugin sends a `noindex, nofollow` meta tag and a HTTP 503 status code with a Retry-After header, telling crawlers to come back later.

= Can I still log in while maintenance mode is on? =
Yes. The WP login page (/wp-login.php) is always accessible, and logged-in administrators see the live site.

= How do I disable the countdown? =
Leave the Countdown Target Date/Time field blank.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
