Title: EffortLess Maintenance Mode
Author: domclic
Published: <strong>2024 年 10 月 9 日</strong>
Last modified: 2026 年 6 月 2 日

---

搜索插件

![](https://ps.w.org/effortless-maintenance-mode/assets/banner-772x250.jpg?rev=3165571)

![](https://ps.w.org/effortless-maintenance-mode/assets/icon-256x256.jpg?rev=3165571)

# EffortLess Maintenance Mode

 作者：[domclic](https://profiles.wordpress.org/domclic/)

[下载](https://downloads.wordpress.org/plugin/effortless-maintenance-mode.1.1.3.zip)

 * [详情](https://cn.wordpress.org/plugins/effortless-maintenance-mode/#description)
 * [评价](https://cn.wordpress.org/plugins/effortless-maintenance-mode/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/effortless-maintenance-mode/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/effortless-maintenance-mode/#developers)

 [支持](https://wordpress.org/support/plugin/effortless-maintenance-mode/)

## 描述

EffortLess Maintenance Mode allows you to easily enable and customize a maintenance
page while your site is under development or maintenance. This plugin provides a
simple interface for adding custom HTML content to your maintenance page, ensuring
that visitors know your site is temporarily unavailable. The maintenance page will
show if the current user is not logged in or does not have admin capabilities.

### Reviews

We appreciate your feedback! Please leave a review.

## 安装

#### Installation from within WordPress

 1. Visit **Plugins > Add New**.
 2. Search for **Plugin Check**.
 3. Install and activate the Plugin Check plugin.

#### Manual installation

 1. Upload the entire `plugin-check` folder to the `/wp-content/plugins/` directory.
 2. Visit **Plugins**.
 3. Activate the Plugin Check plugin.

## 常见问题

### How do I customize the maintenance page?

You can customize the maintenance page by navigating to Tools > Maintenance Mode
in the WordPress admin dashboard. Here, you can modify the HTML content displayed
to visitors.

### Can I use custom HTML for the maintenance page?

Yes! The plugin allows you to enter any HTML code to create a personalized maintenance
message.

### Will the plugin affect the site’s performance?

No, this plugin is lightweight and will not significantly impact your site’s performance.
It is designed to be efficient and effective.

### How do I deactivate the maintenance mode?

To deactivate maintenance mode, simply go back to Tools > Maintenance Mode and uncheck
the “Enable Maintenance Mode” option, then save your changes.

## 评价

此插件暂无评价。

## 贡献者及开发者

「EffortLess Maintenance Mode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ domclic ](https://profiles.wordpress.org/domclic/)

[帮助将「EffortLess Maintenance Mode」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/effortless-maintenance-mode)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/effortless-maintenance-mode/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/effortless-maintenance-mode/)，或
通过[RSS](https://plugins.trac.wordpress.org/log/effortless-maintenance-mode/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/effortless-maintenance-mode/)。

## 更新日志

#### 1.1.3

 * Fix: settings page now registers in every subsite admin on multisite, not only
   in the Network Admin — resolves “not allowed” error when clicking the admin-bar
   link from any frontend page or subsite.

#### 1.1.2

 * Fix: admin-bar indicator now updates live when the toggle is switched (no page
   reload required).
 * Feature: maintenance toggle replaced by a CSS toggle switch for a cleaner settings
   page UI.

#### 1.1.1

 * Feature: admin-bar indicator shows Maintenance ON/OFF on every admin and frontend
   screen.
 * Feature: TinyMCE rich-text editor replaces raw HTML textarea.
 * Feature: three starter templates (Maintenance, Coming Soon, Under Construction).
 * Feature: IP whitelist — configured IPs always see the live site during maintenance.
 * Feature: role bypass — selected roles bypass the maintenance page.
 * Feature: scheduled activation window with start/end datetime (site timezone).
 * Feature: REST API — GET /wp-json/elmmp/v1/status and POST /wp-json/elmmp/v1/toggle.
 * Feature: coming-soon mode — serve HTTP 200 instead of 503 for SEO-friendly pages.
 * Feature: background image uploader for the maintenance page.
 * Fix: uninstall.php now correctly removes all elmmp_* options.
 * Refactor: internal prefix renamed from emmp_ to elmmp_ throughout the codebase.

#### 1.0.34

 * Feature: admin-bar indicator shows Maintenance ON/OFF on every screen.
 * Feature: TinyMCE rich-text editor replaces raw HTML textarea.
 * Feature: three starter templates (Maintenance, Coming Soon, Under Construction).
 * Feature: IP whitelist — configured IPs always see the live site.
 * Feature: role bypass — selected roles bypass the maintenance page.
 * Feature: scheduled activation window (start/end datetime, site timezone).
 * Feature: REST API GET /wp-json/elmmp/v1/status and POST /wp-json/elmmp/v1/toggle.
 * Feature: coming-soon mode — serve HTTP 200 instead of 503.
 * Fix: uninstall.php now removes all elmmp_* options correctly.
 * Feature: background image uploader for the maintenance page.
 * Refactor: renamed all internal prefixes from emmp_ to elmmp_ for consistency.

#### 1.1.0

 * Improvement: New versioning for new version

#### 1.0.33

 * Feature: “Enable Maintenance Mode” checkbox now auto-saves via AJAX on click —
   no page reload required.
 * Feature: “Save Changes” button renamed to “Save custom HTML” and only persists
   the custom HTML textarea.

#### 1.0.32

 * Feature: donate notice now renders inline at the top of the settings page (below
   the title) instead of in the generic admin-notice area.

#### 1.0.31

 * Fix: PHPCS — correct file comment style in index.php stubs; add docblock header
   to scripts.js; end all inline JS comments with full stops.

#### 1.0.30

 * Fix: donate notice now also hooks network_admin_notices so it appears on Network
   Admin pages (multisite).

#### 1.0.29

 * Feature: multisite network support — one toggle now controls all sites; settings
   stored as network options.
 * Feature: menu moved from Tools to Settings (single site) and Network Admin > 
   Settings (multisite).
 * Fix: object-cache layer now correctly distinguishes a cache miss from a stored
   falsy value using the $found parameter.
 * Fix: cache is now invalidated immediately on save — the Settings API was bypassing
   the cache wrapper on every option update.
 * Fix: wp_cache_flush() replaced with targeted key deletion to avoid evicting other
   plugins’ cached data.
 * Fix: admin JS now loads only on the plugin’s own settings page, not on every 
   admin screen.
 * Fix: REST API, XML-RPC, and WP-Cron requests now bypass the maintenance page 
   so background jobs and authenticated tooling are not disrupted.
 * Fix: removed redundant unverified nonce field; settings form now uses a single
   nonce verified manually.
 * Code: removed dead functions emmp_enqueue_styles(), emmp_update_cached_option(),
   emmp_clear_cache() and unused EMMP_COMPANY constant.

#### 1.0.28

 * Improvement: added dismissible donate notice on the plugin settings screen.
 * Improvement: added Donate link header field and includes/class-donate-notice.
   php.

#### 1.0.27

 * Fix: Remove deprecated load_plugin_textdomain() call (not needed for wordpress.
   org-hosted plugins since WP 4.6)
 * Fix: Add Requires PHP header to plugin file to match readme.txt
 * Fix: Prefix global variables in uninstall.php with emmp_ to meet naming conventions

#### 1.0.25

 * Minor update

#### 1.0.24

 * Fix some issues

#### 1.0.22

 * Update cache fonctionnality

#### 1.0.21

 * Not showing maintenance page if you’re logged as administrator
 * Add a notice for logged administrator

#### 1.0.20

 * Add cache purge after change

#### 1.0.19

 * Optimize the css file
 * Fix the alert message not working

#### 1.0.18

 * Changes emm_ to emmp_ to comply wordpress.org advice

#### 1.0.17

 * Fix minor bugs

#### 1.0.16

 * Add languages Italian and Portuguese

#### 1.0.16

 * Add default maintenance message if the textarea is empty

#### 1.0.15

 * Improved Naming Consistency: Renamed get_cached_option() to cmm_get_cached_option()
   for better consistency and conflict prevention.
 * Escaping and Sanitization: Used esc_html__(), esc_textarea(), and esc_js() functions
   more consistently.
 * Commenting: Added comments before each function for clarity.
 * Spacing and Alignment: Reformatted spacing and alignment to match WordPress coding
   standards, such as placing spaces before function parameters and between operators.

#### 1.0.14

 * Fix uninstall.php

#### 1.0.13

 * Add company variable
 * Fix issue with variables

#### 1.0.12

 * New versioning

## 额外信息

 *  版本 **1.1.3**
 *  最后更新：**6 天前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/effortless-maintenance-mode/)
 * 标签
 * [maintenance](https://cn.wordpress.org/plugins/tags/maintenance/)[mode](https://cn.wordpress.org/plugins/tags/mode/)
   [wp](https://cn.wordpress.org/plugins/tags/wp/)
 *  [高级视图](https://cn.wordpress.org/plugins/effortless-maintenance-mode/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/effortless-maintenance-mode/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/effortless-maintenance-mode/reviews/)

## 贡献者

 *   [ domclic ](https://profiles.wordpress.org/domclic/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/effortless-maintenance-mode/)