=== ZIP Easy Maintenance ===
Contributors: sarusadgac
Tags: maintenance mode, maintenance page, coming soon, under construction, maintenance
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

# ZIP Easy Maintenance

A simple and lightweight maintenance mode plugin for WordPress.

## Description

ZIP Easy Maintenance allows you to quickly enable a maintenance mode on your WordPress site. When activated, visitors will see a clean, professional maintenance page while you work on your site. Administrators can still access the site normally.

### Features

* One-click maintenance mode activation
* Clean and responsive maintenance page
* Automatic exclusion of logged-in administrators
* SEO-friendly (sends correct 503 status code)
* Lightweight and fast
* Admin login button on maintenance page
* Multi-language support (English, German, Spanish, Turkish)
* No complex settings to configure

## Installation

1. Upload the `zip-easy-maintenance` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to 'Easy Maintenance' in your WordPress admin menu
4. Toggle the maintenance mode on/off as needed

## Frequently Asked Questions

### Who can see the site when maintenance mode is active?

Users with administrator privileges can still access the site normally. All other visitors will see the maintenance page with a login button.

### Does this affect SEO?

No. The plugin sends the correct 503 Service Unavailable status code, which tells search engines that the site is temporarily unavailable and to check back later.

### Can I customize the maintenance page?

The maintenance page comes with a clean, professional design out of the box. Future versions will include customization options.

### Is it compatible with my theme?

Yes! The plugin works with any WordPress theme as it completely bypasses the theme system when showing the maintenance page.

### Does it work with caching plugins?

Yes, the plugin is compatible with popular caching plugins. It properly sends cache-control headers to ensure the maintenance page is always shown when active.

## Screenshots

1. Maintenance mode settings page in admin panel
2. Example of maintenance page shown to visitors
3. Admin login button for quick access

## Changelog

### 1.0.1
* Security: Added direct file access prevention to template files
* Security: Enhanced POST data sanitization in admin settings
* Performance: Updated style enqueuing to follow WordPress standards
* Performance: Optimized asset loading on maintenance page
* Security: Added proper data validation and sanitization
* Code: Improved documentation and version tracking

### 1.0.0
* Initial release
* Basic maintenance mode functionality
* Admin toggle interface
* Responsive maintenance page design
* Multi-language support (EN, DE, ES, TR)
* Admin login button on maintenance page
* SEO-friendly 503 status
* Clean and modern design

## Requirements

* WordPress 6.0 or higher
* PHP 7.4 or higher

## License

This plugin is licensed under the GPL v2 or later.

```
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
```

## Credits

* Uses Font Awesome for icons