A lightweight, privacy-friendly WordPress plugin to display Coming Soon, Maintenance Mode, or a Landing Page while you build or update your website.
Designed to be simple, fast, and dependency-free, IfElse Pages lets you control what visitors see while you work behind the scenes.
🔗 WordPress Plugin Directory https://wordpress.org/plugins/ifelse-pages-coming-soon-and-maintenance-mode/
Choose how visitors see your site while it's under development:
- Coming Soon – show a pre-launch page
- Maintenance Mode – send a proper
503 Service Unavailableresponse - Landing Page – display a custom public landing page
Three clean, responsive templates included:
- Centered Minimal
- Split Screen
- Dark Mode
- Upload site logo
- Set background color
- Upload background image
- Optional countdown timer
- Custom title & description
- SEO meta title and description
Choose which user roles can access the real site while maintenance mode is active.
Examples:
- Administrators
- Editors
- Developers
- Custom roles
Admins bypass the screen automatically by default.
This plugin is designed with privacy in mind.
- ❌ No external API calls
- ❌ No analytics or tracking
- ❌ No advertisements
- ❌ No data collection
- Go to Plugins → Add New
- Search for IfElse Pages
- Click Install Now
- Activate the plugin
- Open Settings → IfElse Pages
- Download the plugin ZIP
- Upload to:
/wp-content/plugins/ifelse-pages-coming-soon-and-maintenance-mode
- Activate via WordPress → Plugins
If you manage WordPress with Composer:
composer require wpackagist-plugin/ifelse-pages-coming-soon-and-maintenance-mode
After activation:
- Navigate to:
Settings → IfElse Pages
- Enable the plugin using the toggle
- Select a page mode
- Choose a template
- Customize content and design
- Save settings
Visitors will now see the selected screen while allowed roles bypass it.
| Mode | HTTP Status |
|---|---|
| Coming Soon | 200 OK |
| Landing Page | 200 OK |
| Maintenance Mode | 503 Service Unavailable |
Using a 503 status ensures search engines know the downtime is temporary.
Tested with:
- WordPress 6.2 – 6.9
- PHP 7.4+
Works with most themes and page builders because it only intercepts front-end page requests.
Does not affect:
wp-admin- REST API
- Logged-in bypass roles
ifelse-pages-coming-soon-and-maintenance-mode/
│
├── admin/
├── templates/
├── languages/
├── assets/
├── ifelse-pages-coming-soon-and-maintenance-mode.php
└── readme.txt
Initial public release.
- Coming Soon mode
- Maintenance mode
- Landing page mode
- Template system
- Role bypass
- Countdown timer
- Design customization
Contributions are welcome.
You can help by:
- Reporting bugs
- Suggesting features
- Improving translations
- Submitting pull requests
Email: mail@zulkaif.com Website: https://zulkaif.com Plugin Page: https://zulkaif.com/ifelse.html
Zulkaif Riaz https://zulkaif.com
Shaham Abbas https://shahamabbas.online
This project is licensed under GPL v3.
