=== Monster Maintenance Mode ===
Contributors: monster-it
Tags: maintenance mode, coming soon, under construction, landing page, countdown
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 2.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight maintenance & coming soon mode with 6 templates, IP/CIDR bypass manager, direct file controls, countdown timer, and email capture.

== Description ==

**Launch in style without bloating your site.**

**Monster Maintenance Mode** is a fast, self-contained Maintenance Mode and Coming Soon plugin built for developers, agencies, and site owners. No page builders, no external CDN dependencies, and no upsell clutter—just clean templates and precise access controls that work out of the box.

= 6 Built-In Visual Templates =
Switch designs in one click and inspect them live before going public:
* **Modern Glassmorphism** – Frosted glass card with subtle blur effects and glowing accents.
* **Corporate Split-Screen** – Two-column agency layout pairing your message with a countdown and signup form.
* **Minimalist Editorial** – Classic serif typography with crisp black-and-white borders.
* **Cyber Terminal** – Matrix-inspired command prompt window with phosphor green monospace styling.
* **Neon Synthwave Grid** – 3D perspective horizon grid with cyberpunk magenta and cyan glow.
* **Bold Industrial** – High-contrast brutalist layout with heavy borders and hard offset shadows.

= Precision Access & Client Bypass Controls =
* **Interactive External IP Bypass Manager:** Whitelist exact IPv4/IPv6 addresses, wildcards (`192.168.1.*`), or CIDR subnets (`203.0.113.0/24`) with custom labels (e.g., "Client Office"), or add your own admin IP in one click.
* **Direct File Reading Controls:** Keep direct links to `.pdf`, `.zip`, `.json`, `.csv`, images, and WordPress media attachments accessible while the rest of your site stays behind the maintenance screen.
* **Excluded Folders & URL Paths:** Allow specific directories (like `/wp-content/uploads/` or `/downloads/`) to remain readable.
* **User Role & Bot Bypass:** Grant access by WordPress user role, let search engine bots (Googlebot, Bingbot, etc.) crawl safely, and optionally lock down the WordPress REST API.

= Built for SEO, Launches & Lead Generation =
* **200 OK & 503 HTTP Modes:** Serve `200 OK` for Coming Soon launch pages or `503 Service Unavailable` with a custom `Retry-After` header for temporary SEO-safe maintenance.
* **Countdown Timer with Auto-Disable:** Build launch anticipation and automatically bring your site live when the timer hits zero.
* **AJAX Email Capture & CSV Export:** Collect launch subscribers without page reloads, track total signups from your dashboard, and export your list to CSV anytime.
* **Custom Branding & Live Preview:** Override any template's colors, upload a fullscreen background image, add social/contact links, and preview any template in a new tab before activating.
* **Admin Bar Status Indicator:** Always see at a glance whether Maintenance Mode is ON or OFF right from the WordPress top bar.
* **Clean Uninstall:** Removes all plugin settings and the custom subscribers table automatically if you ever delete the plugin.

== Installation ==

1. Install **Monster Maintenance Mode** directly from **Plugins > Add New** in your WordPress dashboard, or upload the `monster-maintenance-mode` folder to `/wp-content/plugins/`.
2. Activate the plugin via the **Plugins** menu.
3. Go to **Settings > Maintenance Mode** to pick a template, configure IP bypass rules, and turn on Maintenance Mode.

== Frequently Asked Questions ==

= Can I preview a template before visitors see it? =
Yes. Go to **Settings > Maintenance Mode** and click **Quick Preview** on any of the 6 template cards, or click **Preview Active Template** at the top of the page.

= How do I let clients view the site without giving them a login? =
Open the **External IP Bypass Manager** in the plugin settings and add your client's IP address, wildcard, or CIDR subnet with an optional label. They will see the live site while everyone else sees the maintenance page.

= Will my hosted PDFs, downloads, or media files still work during maintenance? =
Yes. With **Allow Direct File Reading** enabled, visitors and external tools can still access approved file extensions, WordPress attachment pages, and any folder paths listed under **Excluded Folders & URL Paths**.

= Should I use 200 OK or 503 Service Unavailable? =
Use **200 OK** for a brand-new "Coming Soon" site so visitors and proxies render your page normally. Use **503 Service Unavailable** for temporary maintenance on an established site so search engines know to check back later without de-indexing your pages.

= Does this plugin leave data behind if I delete it? =
No. Uninstalling the plugin cleanly deletes its options and drops the custom subscribers database table.

== Screenshots ==

1. Choose from 6 built-in visual templates with one-click live preview.
2. Modern Glassmorphism maintenance page with live countdown timer and AJAX email signup.
3. Interactive External IP Bypass Manager supporting exact IPs, wildcards, CIDR subnets, and one-click current IP detection.
4. Direct File Reading controls to keep PDFs, ZIPs, and specific directories accessible during maintenance.
5. Custom color overrides, background image uploader, countdown auto-disable, and CSV subscriber export.

== Changelog ==

= 2.2.0 =
* Initial release on the WordPress.org Plugin Directory.
* Added 6 selectable visual templates with live admin preview and custom color overrides.
* Added interactive External IP Bypass Manager with CIDR subnet, wildcard, and one-click current IP support.
* Added Direct File Reading extension controls and WordPress attachment bypass options.
* Added 200 OK / 503 HTTP response modes, countdown timer with auto-disable, and AJAX email capture with CSV export.