內容簡介
這是我在 WordPress 中的第一個外掛,我真的希望這對大家有幫助。
Bee Offline 是一個外掛,給予您編輯和升級 WP 的空間和自由,但如果在編輯或升級您的網站時出現錯誤,它不會顯示錯誤訊息,而只會在螢幕上顯示「施工中」頁面。
您可以透過編輯 bee-offline 資料夾內的 construction.php 檔案來更改離線頁面的樣式。
變更 1.4
支援 WordPress Multi Site 或 WPMU。
變更 1.3
您可以選擇多個使用者角色,在離線時仍然可以查看網站。
變更 1.2
不再使用 www.example.com/?trial=yes 連結。
只要您已登錄並獲得管理員權限,您仍然可以查看您的網站。
我做出這個變更是因為如果使用 GET 變數,您無法在離線時檢查您的另一個頁面。
外掛標籤
開發者團隊
原文外掛簡介
This is my first plugins in WordPress, I really hope this gonna be useful for all.
Bee Offline is plugin that give you a room and freedom to editing and upgrading your WP but not display the error message if
there is something wrong while editing or upgrading your site, it’s just show “Under Construction” page on screen.
You can change style of your offline page by editing file construction.php inside bee-offline folder.
Changes 1.4
Support WordPress Multi Site or WPMU.
Changes 1.3
You can choose more than one user role that still can view site while offline.
Changes 1.2
Link www.example.com/?trial=yes is not used anymore.
you still can view your web as long as you logged in and you have administrator access.
I change this because if use GET variable you can’t check your another page while offline.
