
內容簡介
### 總結:
Planned Outage for Block Themes 是一個輕量級的外掛,能夠為 WordPress 區塊主題啟用維護模式。啟用後,未登入的訪客將看到您自定義的維護模板,而已登入的使用者可以正常瀏覽網站。
### 問題與答案:
1. 這個外掛的主要功能是什麼?
- 主要功能是啟用維護模式,讓 WordPress 區塊主題進入維護模式,未登入的訪客會看到自定義的維護模板。
2. 已登入的使用者在維護模式下會有什麼不同?
- 已登入的使用者可以正常瀏覽網站,他們可以繼續使用網站而不受維護模式的限制。
3. 這個外掛的功能特色有哪些?
- 使用本機區塊主題模板
- 可以在網站編輯器中或作為主題檔案創建維護頁面
- 已登入的使用者可以跳過維護模式
- 可配置預期持續時間(重試後標頭)
- 維護期間可選擇搜索引擎機器人訪問
- 管理面板在維護模式時會有指示器
- 在維護三天後會出現持續時間警告
- 對 SEO 返回正確的 503 狀態碼
4. 這個外掛的運作需求是什麼?
- WordPress 版本需為 6.3 或更高
- 需要使用區塊主題(如 Twenty Twenty-Five)
外掛標籤
開發者團隊
② 後台搜尋「Planned Outage for Block Themes」→ 直接安裝(推薦)
原文外掛簡介
Planned Outage for Block Themes is a lightweight plugin that enables maintenance mode for WordPress block themes. When enabled, logged-out visitors see your custom maintenance template while logged-in users can browse the site normally.
Features:
Uses native block theme templates
Create maintenance pages in the Site Editor or as theme files
Logged-in users bypass maintenance mode
Configurable expected duration (Retry-After header)
Pre-launch mode for sites that aren’t live yet
Optional search engine bot access during maintenance
Bypass link to let non-logged-in users preview the site during maintenance
Admin bar indicator when maintenance mode is active
Duration warning after 3 days of maintenance (except in pre-launch mode)
Returns proper 503 status code for SEO
Cache plugin detection with admin warning and automatic cache flushing
Requirements:
WordPress 6.3 or higher
A block theme (like Twenty Twenty-Five)
