=== Coming Soon & Maintenance Mode ===
Contributors: adnanhyder
Tags: coming-soon, maintenance mode, under construction, templates, wordpress plugin
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 3.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Display beautiful coming soon pages, maintenance mode screens, and landing pages with fully customizable templates.

== Description ==

# 🚀 Coming Soon & Maintenance Mode by XpertCodes

**Transform your WordPress site with professional coming soon pages and maintenance mode screens!** Coming Soon Pro is the ultimate solution for launching new websites, performing maintenance, or creating stunning landing pages that captivate your audience from the first visit.

---

## 🌟 Why Use Coming Soon & Maintenance Mode by XpertCodes?

A well-designed coming soon page is crucial for:
- **Build Anticipation:** Create buzz and collect emails before your launch
- **Professional Appearance:** Impress visitors with stunning, branded designs
- **Reduce Bounce Rates:** Engage visitors with beautiful layouts instead of error pages
- **Mobile-First Design:** Perfect experience on all devices and screen sizes
- **SEO Friendly:** Properly handle HTTP status codes for maintenance mode

---

## 🎨 Key Features

### 🎯 Smart Template System
- **Multiple Professional Templates** - Choose from beautifully designed templates
- **Template-Specific Options** - Each template has tailored customization options
- **Live Preview** - See changes in real-time as you customize

### 🎨 Complete Customization
- **Branding Control** - Upload your logo, set colors, and customize backgrounds
- **Background Options** - Choose between image backgrounds or solid colors
- **Typography Control** - Customize fonts, colors, and text content
- **Countdown Timer** - Build excitement with customizable launch countdown

### 📱 Advanced Layout Features
- **Navigation Menu** - Add custom menu items with individual colors and URLs
- **Social Media Integration** - Connect social profiles with custom icons
- **Responsive Design** - Flawless display on all devices and screen sizes
- **Mobile Menu Toggle** - Optimized mobile navigation with customizable toggle

### ⚡ Smart Functionality
- **One-Click Enable/Disable** - Turn coming soon mode on/off instantly
- **Admin Access Protected** - Logged-in administrators see the normal site
- **Logged-in User Bypass** - Optionally allow signed-in users to see the normal site
- **Scheduled Activation** - Start and end coming soon mode automatically
- **Secret Preview Link** - Share bypass access with a private key
- **Configurable Preview Duration** - Choose how long secret-link access remains active
- **Path Exclusions** - Keep selected URLs available
- **HTTP Status Control** - Choose 503 maintenance or 200 landing page behavior
- **Noindex Control** - Manage crawler indexing headers
- **Template Switching** - Change designs without losing your settings
- **Required Field Validation** - Ensures your pages look perfect before going live

---

## 🛠 Template Features Comparison

| Feature | Template 1 | Template 2 |
|---------|------------|------------|
| Logo Support | ✅ Yes | ✅ Yes |
| Background Image/Color | ✅ Both | ✅ Image Only |
| Title & Subtitle | ✅ Both | ✅ Title Only |
| Countdown Timer | ✅ Yes | ❌ No |
| Navigation Menu | ✅ Up to 10 items | ✅ Up to 3 items |
| Social Icons | ✅ 2 Social Links | ✅ 2 Social Links |
| Mobile Menu Toggle | ✅ Yes | ❌ No |
| Copyright Text | ✅ Yes | ✅ Yes |

---

## 🎯 Perfect For

- **🚀 New Website Launches** - Build anticipation and collect leads
- **🔧 Site Maintenance** - Professional maintenance pages
- **🎯 Landing Pages** - Create stunning single-page layouts
- **📈 Marketing Campaigns** - Launch products with style
- **🎨 Portfolio Sites** - Showcase your work before full launch

---

== Installation ==

### Automatic Installation
1. Navigate to **Plugins > Add New** in your WordPress admin
2. Search for "Coming Soon Pro"
3. Click **Install Now** and then **Activate**

### Manual Installation
1. Download the plugin `.zip` file
2. Go to **Plugins > Add New > Upload Plugin**
3. Choose the `.zip` file and click **Install Now**
4. Click **Activate Plugin**

### Configuration
1. Go to **Coming Soon Pro** in your WordPress dashboard
2. Toggle the "Enable Coming Soon Mode" switch to activate
3. Choose your preferred template from the available options
4. Customize all settings in the template options sections
5. Click **Save Changes** to make your page live

== Frequently Asked Questions ==

= Can I use different templates for different pages? =
Currently, the plugin uses one template site-wide. Future updates may include page-specific template selection.

= Will search engines see my coming soon page? =
Yes, when maintenance mode is active, proper HTTP headers are sent to inform search engines.

= Can logged-in users see the normal site? =
Yes. Administrators always bypass the coming soon page, and version 1.1.0 adds a setting to let all logged-in users see the normal site too.

= What happens to my existing website content? =
Your existing content remains completely safe and unchanged. The coming soon page only displays to visitors while your admin area functions normally.

= Can I add my own custom CSS? =
Yes, you can add custom CSS through the additional CSS field in the template settings or via your theme's customizer.

= Is the countdown timer timezone-aware? =
Yes, the countdown timer automatically uses your WordPress site's timezone settings.

= Can I use my own background images? =
Absolutely! You can upload custom background images or use the provided default images.

== Screenshots ==

1. **Admin Settings Dashboard** - Beautiful, intuitive settings interface with template selection and live customization
2. **Template 1 - Full Feature Layout** - Modern design with countdown timer, navigation menu, and social integration

== Changelog ==

= 3.1.0 =
* Added a configurable secret preview cookie duration from 1 to 720 hours.
* Preserved the existing 24-hour preview duration as the default.

= 3.0.0 =
* Added allowed IP bypass rules for agencies, clients, and QA teams.
* Added optional public feed blocking while maintenance mode is active.
* Added optional public REST API blocking while maintenance mode is active.
* Added admin settings for launch access control and stricter private-site protection.

= 2.1.0 =
* Improved 503 maintenance responses with smarter Retry-After headers.
* Uses the configured end datetime for Retry-After when available.
* Keeps the previous one-hour fallback for unscheduled maintenance mode.

= 2.0.0 =
* Added scheduled start and end controls.
* Added secret bypass key support.
* Added excluded URL paths.
* Added HTTP status control.
* Added noindex header control.

= 1.1.0 =
* Added an option to let logged-in users bypass the coming soon page.
* Prevents frontend coming soon assets from loading for users who can bypass the page.
* Updated WordPress.org banner artwork for the release.

= 1.0.0 (2024-12-XX) =
* Initial release with complete template system
* Two professional templates with unique features
* Full customization controls for branding and layout
* Responsive design optimized for all devices
* Countdown timer with date/time picker
* Navigation menu builder with up to 10 items
* Social media integration
* Mobile menu toggle system
* Required field validation system
* One-click enable/disable functionality
* Admin access protection
* WordPress standards compliance

== Upgrade Notice ==

= 1.1.0 =
Adds a logged-in user bypass setting and refreshed WordPress.org banner artwork.

= 1.0.0 =
This is the initial stable release of Coming Soon Pro. All features are production-ready and thoroughly tested.

== Roadmap ==

* Additional template designs
* Email list integration (Mailchimp, ConvertKit, etc.)
* Advanced animation options
* A/B testing capabilities
* Scheduled activation/deactivation
* Multi-language support
* Template marketplace
* Analytics integration

== Support ==

For support, feature requests, or bug reports, please contact the plugin author through the WordPress.org support forums or visit the official plugin page.

== Credits ==

Developed with ❤️ by Adnan Hyder Pervez, following WordPress coding standards and best practices for security, performance, and user experience.
