=== GW Under Construction Mode ===
Author: greenwebsite
Tags: maintenance mode, under construction, coming soon, temporary page, site offline
Requires at least: 5.9
Tested up to: 6.8
Stable tag: 1.2.3
Requires PHP: 7.4
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Plugin URI: https://www.plugins.se  
Author URI: https://www.greenwebsite.net  
Donate link: https://buymeacoffee.com/mattiasjohansson  

Show an under construction page to visitors while logged-in users continue working. Includes IP whitelisting, custom text/image, scheduling and more.


== Description ==

**GW Under Construction Mode** is a lightweight, free and flexible plugin for putting your WordPress site into maintenance mode.

Perfect during development, redesign, or temporary downtime.


= Features =

- One-click enable/disable.
- Set start and end date/time.
- Customize the title and message.
- Choose between light or dark theme.
- Whitelist IPs for external preview.
- Upload a logo or header image.

Useful for developers, site owners and agencies to manage visibility while working behind the scenes.


== Installation ==
1. Upload the plugin to `/wp-content/plugins/` or install via **Plugins > Add New**.
2. Activate it via the **Plugins** screen.
3. Go to **Tools > GW Under Construction Mode** to configure settings.


== Frequently Asked Questions ==

= Can logged-in users still view the site? =  
Yes. Logged-in users always have full access.

= Can I whitelist multiple IP addresses? =  
Yes, just separate them with commas.

= Why isn’t the Under Construction page turning off? =
Most likely a caching plugin is showing an old version. Clear your cache or disable caching plugins during testing.

= Where can I get help? =  
Visit [https://plugins.se/](https://plugins.se/) for more information and support.


== Screenshots ==

1. Example: Under Construction page (dark theme)  
2. Admin settings page

== Changelog ==

= 1.2.3 =
* Small fixes.

= 1.2.2 =
* Added support to insert shortcodes like GW Count Down etc. 

= 1.2.1 =
* Fixed critical error on admin pages for users running PHP 8.0 and above caused by a broken callback reference.

= 1.2.0 =
* Added preview functionality.
* Introduced start and end time scheduling.
* Minor bug fixes and improvements.
* Settings link moved to WordPress Tools folder.

= 1.1.0 =
* Admin uninstall handler added.

= 1.0.1 =
* Small updates and fixes.

= 1.0.0 =
* Initial release.


