=== ABSD Under Maintenance === Contributors: absdhiten Tags: maintenance mode, coming soon, under construction, maintenance page, 503 Requires at least: 5.8 Tested up to: 7.1 Requires PHP: 7.4 Stable tag: 1.1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html A simple, lightweight and professional maintenance / coming-soon mode plugin with 6 ready-made templates. No page builder required. == Description == ABSD Under Maintenance lets you put your WordPress site into a clean, professional maintenance / coming-soon screen in seconds — no page builder required. **Features** * ON/OFF maintenance mode toggle * 6 professionally designed, fully responsive templates * Live preview panel that updates automatically as you edit — see your changes before saving, with a desktop/mobile toggle and an admin-only full-screen preview link * Logo & background image upload via the Media Library * Choice of 6 built-in maintenance icons, or upload your own custom icon image * Adjustable overlay darkness and accent color * Editable heading, description, small text, footer/copyright text, and retry text * Optional contact information * Private access: a secure, unpredictable link that lets specific visitors bypass maintenance mode without logging in, with regenerate/revoke controls * Administrators stay logged in and see the site normally while maintenance mode is active * Returns a proper HTTP 503 status with a `Retry-After` header, which is the recommended approach for temporary downtime * Login, admin, REST API, AJAX and cron requests are never blocked, so nothing else on your site breaks while maintenance mode is on * Translation-ready * No tracking, no external service calls, no bundled third-party frameworks == Installation == 1. Upload the `absd-under-maintenance` folder to the `/wp-content/plugins/` directory, or install the plugin directly through the WordPress plugins screen. 2. Activate the plugin through the "Plugins" screen in WordPress. 3. Go to **Under Maintenance** in the admin menu to configure. 4. Choose a template, fill in your text, optionally add a logo/background image, then toggle **Maintenance Mode** on and save. == Frequently Asked Questions == = Will administrators be locked out of the site? = No. Logged-in users with the `manage_options` capability (administrators) always see the normal site, even while maintenance mode is active. = Will this break my login page, REST API, or cron jobs? = No. The maintenance screen is never shown for `wp-login.php`, `wp-admin`, the REST API, AJAX requests, or WP-Cron, so core WordPress functionality keeps working normally. = Can I let specific people preview the site while maintenance mode is on? = Yes. Enable "Private Access" in the settings to generate a secret, unpredictable link. Anyone who opens that link gets a signed cookie that lets them browse the whole site normally for 12 hours. You can regenerate or revoke the link at any time from the settings page. = Does this plugin send any data externally? = No. The plugin does not make any external HTTP requests, load any remote resources, or collect/transmit any data. = Can I see what the maintenance page will look like before turning it on? = Yes. The settings page has a live preview panel that updates automatically as you edit — nothing is saved until you click Save Settings. There's also an admin-only "Open Full Screen" link that always reflects your last saved settings, so you can check it in a full browser tab and refresh it after saving. == Screenshots == 1. Maintenance mode settings — status, template selection and content fields. 2. Example front-end maintenance page. == Changelog == = 1.1.0 = * Added a live preview panel on the settings page that updates automatically as you edit, before you save — with a desktop/mobile toggle and an admin-only full-screen preview link that reflects your last saved settings. * Added a choice of 6 built-in maintenance icons (Wrench, Gear, Clock, Bell, Rocket, Cone), plus the option to upload your own custom icon image via the Media Library. * Fixed: the Overlay Darkness and Accent Color settings were not being applied on the front end. * Fixed: a missing direct-access guard in uninstall.php. * Hardening: improved input sanitization and nonce handling, removed a deprecated translation-loading call, and switched the maintenance page's stylesheet to use `wp_enqueue_style()`. = 1.0.0 = * Initial release. == Upgrade Notice == = 1.1.0 = Adds a live settings preview and a selectable/custom maintenance icon, and fixes the Overlay Darkness and Accent Color settings not applying on the front end. = 1.0.0 = Initial release.