=== QB Maintenance Mode ===
Contributors: quietbolt
Donate link: https://quietbolt.link
Tags: maintenance, coming soon, site down, maintenance mode, under construction
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create and customize your maintenance page using 3 modern pre-designed styles. Ideal for maintenance mode, coming soon, or site updates.

== Description ==

**QB Maintenance Mode** allows WordPress site admins to easily enable a customizable maintenance mode page while the site is offline or under construction.

No coding required — just pick a style, set your title and message, upload a logo, and go live with one click.

**Perfect for:**
- Temporary maintenance windows
- Development or redesign
- Staging environments
- "Coming Soon" pages

**✨ Features:**

- ✅ Enable/disable maintenance mode with one click
- 🎨 Choose from **3 pre-built design styles**:
  - Style 1: Simple
  - Style 2: Modern
  - Style 3: Professional
- 🖼 Upload or choose a **custom logo** from the Media Library
- 📝 Set your own **page title** and **message**
- 📱 Fully **responsive and mobile-friendly**
- 🔒 Only **admins see the site normally** while maintenance is active
- ⚠️ **Red admin bar alert** when maintenance mode is on
- 🧩 Clean, modular code and WordPress Coding Standards compliant

== Screenshots ==

1. Plugin Settings Page with live options
2. Example of Style 1 (Simple)
3. Example of Style 2 (Modern)
4. Example of Style 3 (Professional)
5. Admin bar indicator showing "Maintenance Mode ON"

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/qb-maintenance-mode/` or install via Plugins → Add New.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Go to **QB Maintenance** from the admin menu.
4. Customize your maintenance page and enable maintenance mode.

== Frequently Asked Questions ==

= Can logged-in admins still access the site? =
Yes, the site remains fully accessible to logged-in administrators.

= Will this affect my SEO or users? =
Maintenance mode returns a **503 Service Unavailable** header, which is safe for SEO and tells search engines it's temporary.

= Can I use it as a "Coming Soon" page? =
Yes! Just leave maintenance mode enabled and customize your message and style.

== Changelog ==

= 1.1 =
* Simplified "Page Message" field in admin settings to a plain text area.
* Ensured HTML is automatically stripped from the message for security and consistency.

= 1.0 =
* Initial release with 3 design styles
* Logo upload/select via media library
* Settings page with title/message customization
* Maintenance mode toggle
* Red admin bar alert when active

== Upgrade Notice ==

= 1.1 =
The "Page Message" field in the admin settings is now a plain text area. Any HTML previously saved in this field will be automatically stripped upon saving new settings.

= 1.0 =
First release – customize and activate your maintenance mode page easily!
