這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

TukuToi Maintenance

外掛說明

TukuToi Maintenance allows you to setup and control a Custom “Under Maintenance” or “Coming Soon” Screen for your WordPress Website.

The Plugin is lightweight and has a Settings Screen allowing you to control all aspects of the Maintenance Screen from the WordPress backend.

You will be able to control the image (or color) of the Maintenance Screen, add a CountDown and a Custom Heading, as well as a Custom message to the screen.
You can control the request status (defaults to 401 temporarily unavailable) and the time for when the site will be back.
This is useful to tell Crawling bots when to start re-crawling your website.

螢幕擷圖

  • Custom Error Code and Message Settings
  • Custom Error Code and Message
  • Customized Maintenance Mode Template
  • Plugin Settings filled in
  • Plugin Settings on Install

安裝方式

  1. Upload the Plugin files to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Setup and control the Settings in the native WordPress Settings > Reading screen, under the newly added TukuToi Maintenance Section

常見問題集

How big should the Image used for the Maintenance Screen be?

The optimal (website) background image size is 1920 x 1080 pixels with a 16:9 ratio, the dpi (dots per inch) should be at least 72.
However you are free to upload bigger or smaller sizes, as you wish.

How big should the Logo Image used for the Maintenance Screen be?

It should ideally be at least 300px square.

Can I still access the WP Admin when activating the Maintenance Mode?

Of course! You will have to navigate to the native /wp-login.php URL of your website and will be able to login.
For Administrators, the Front End will not show the Maintenance Mode. It will continue to show your website, in order to allow you to control your development.

Can I Fully Customize the Maintenance Mode Template?

Of course! You can either use the Plugin settings to customize the template, or, you can also load your 100% custom PHP template, if you wish. To do so, just pass your Custom PHP template to the tkt_mtn_template_path filter which the plugin provides.

Example (assuming you store the template in your Theme’s template-parts/post/ folder):

add_filter( 'tkt_mtn_template_path', 'load_my_own_template', 10, 1 );
function load_my_own_template( $template_path ){

    $template_path = get_template_directory() .'/template-parts/post/custm_template.php';//Load your own template.

    return $template_path;

}

You can take a look at the Plugin’s Template in tkt-maintenance/public/partials/tkt-maintenance-public-display.php file to get a kickstart for your own Template.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈TukuToi Maintenance〉的開發相關工作。

參與者

將〈TukuToi Maintenance〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

2.0.4

  • [Fixed] Added Image Alt attribute
  • [Fixed] Added fallback Font

2.0.3

  • [Changed] Removed options class completly as obsolete.
  • [Changed] Refactored code to be WPCS compliant.

2.0.2

  • [Security] Updated Sanitize callbacks for register settings
  • [Changed] Refactored get_options method of plugin
  • [Removed] Removed set_options method as not used (non-breaking change even if removed, since access was private).

2.0.0

  • Breaking change: Removed JS and CSS options. Previously saved CSS and JS won’t work anymore.
  • BReaking change: Changed Classnames of HTML in plugin.
  • Using WP Enqueue functions instead of inline script.
  • Security: Escape all $variables that are echo’d.
  • Removed HTML Title tag as provided by WP already.
  • Removed inline style and added to CSS File instead.
  • Added viewport and charset langauge metatags, added language attributes to HTML tag

1.0.10

  • Adjusted Readme Typos and Wordings
  • Remove empty, unused, or non-enqueued code and files + references
  • Best practice checking of user capability instead of user roles
  • Some CSS improvements
  • Remove instances of word “core” and replace with “main”

1.0.0

  • Initial release.