Linux 软件免费装
Banner图

Maintenance Mode

开发者 LukasNeptun
更新时间 2021年7月16日 04:47
捐献地址: 去捐款
PHP版本: 3.5 及以上
WordPress版本: 5.8
版权: GPLv2 or later
版权网址: 版权信息

标签

maintenance under construction coming soon maintenance mode offline site maintenance website maintenance

下载

详情介绍:

As a web developer working with Wordpress almost every day, very often I came across problem that If I wanted simple maintenance plugin to do some updates on my or client's website, I came across all these useless and overcomplicated plugins until I decided that I'll make one myself which will be the one I'll be confident and happy to use with ease. Maintenance Mode is very simple and it's using Wordpress's wp_die() function which is core function of Wordpress, which makes this plugin feel and work as a part of Wordpress core. There is settings page under "Settings" in the main wp-admin menu where you can enable maintenance mode or change content using WYSIWYG editor so you can also add pictures, links etc. When activated and logged in as admin, you can see website as usual, rest of the users / visitors can see maintenance mode. You can see the maintenance mode as admin in preview mode using preview link on the settings page or simply open website in private mode or different browser to double check if it's enabled and working. There is also indicator in admin bar that changes colour to red when maintenance mode is enabled. Features:
Important! Users that are using Cache plugins, please read below: When enabling or disabling Maintenance Mode, don't forget to flush your cache!
Filters ljmm_site_title - Filter page title while in maintenance mode ljmm_admin_bar_indicator_enabled - Control visibility of admin bar indicator limm_css_filename - The filename of the CSS style sheet (as found in the theme's stylesheet directory) - just the filename, for example: maintenance.min.css. (Note: you do not need to use this filter for a stylesheet; see FAQs below.) ljmm_css_url - The url of the css file. Actions ljmm_before_mm - Runs at the beginning of core maintenance method Having trouble? Please read FAQ first, if you need any assistance, you can use support button on the settings page of the Maintenance Mode.
Development on GitHub The development of Maintenance Mode takes place on GitHub. Bugs and pull requests are welcomed there.

安装:

  1. Upload lj-maintenance-mode to the /wp-content/plugins/ directory
  2. 通过WordPress的“插件”菜单激活插件
  3. Navigate to Settings -> Maintenance Mode, or simply click on Admin Bar indicator for settings to enable maintenance mode.

屏幕截图:

  • Example with default message.
  • Admin Bar Indicator (Red when active)
  • Settings page in admin view with default message.
  • Settings page in admin view with advanced settings.
  • Example with image and link.
  • Custom stylesheet
  • Example: Custom stylesheet in root theme folder with sample styling
  • Example using widgets (meta)
  • Widgets area with two maintenance mode widget areas (before and after)

升级注意事项:

2.4.3
  • 2.4 - More customisable than ever! 2.4.3 - Added support for older PHP versions as per pre-2.4

常见问题:

Plugin doesn't seem to work. What should I do ?

First, if you are using Cache plugin such as WP Super Cache or W3 Total Cache, flush all your cache. Secondly, disable all other plugins and try enabling just Maintenance Mode and see if problem persist. This should solve most common problems. If not, don't hesitate to contact me via Support button from Settings page

Can I change background colour?

Not through the admin interface. You can use a custom stylesheet (see next FAQ) to do this, however.

What is the default stylesheet?

By default, the plugin will use a stylesheet named maintenance.min.css in the theme's stylesheet folder. You can specify a different filename by using a Filter (above).

How do I add widgets?

Click "Advanced Settings" and mark the checkbox to add widget areas. Then you will find two new widget areas in WordPress's Widgets page, for above and below the content.

更新日志:

2.4.4 2.4.3 2.4.2 2.4.1 2.4 2.3.2 2.3.1 2.3 2.2.5 2.2.4 2.2.3 2.2.2 2.2.1 2.2 2.1 2.0.4 2.0.3 2.0.2 2.0.1 2.0 1.4.3 1.4.2 1.4.1 1.4 1.3.3 1.3.2 1.3.1 1.3 1.2.1 1.2 1.1.1 1.1 1.0