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

Formula04 Site Lock

外掛說明

Very simple plug that allows you to put a password-protect the front end of your site. You can also white list pages so that they are still accessible without entering the site password. You can also set any page you want to be the \”enter your password\” screen. This is supposed to be a super simple plug, let me know if you want any features added.

安裝方式

After downloading the plugin HERE; install it by uploading it into your plugin directory or using the built in WordPress plugin installer.

After activation you will need to go to the Formula04 SiteLock settings page to set a few options.

Settings Page

Formula04 Site Lock Password
Here is where you set the password your visitors will need to enter in order to login.

Activate Formula04 Site Lock
This must be checked in order for Formula04 SiteLock to take effect.

White Listed Pages
These are the pages that will be uneffected by Formula04 SiteLock. Your users will be able to visit these pages whether they are logged in according to Formula04 SiteLock or not.

Formula04 Site Lock Label
This is the label that will appear directly above the password form.

Formula04 Site Lock Redirection Location
This determines where a user will be redirected to if they try to view a non-whitelisted page without being logged in.

Note: *Whatever page you set this to, you will probably want to include the Formula04 SiteLock password form on it, so your users can log in.(See Usage).

常見問題集

Installation Instructions

After downloading the plugin HERE; install it by uploading it into your plugin directory or using the built in WordPress plugin installer.

After activation you will need to go to the Formula04 SiteLock settings page to set a few options.

Settings Page

Formula04 Site Lock Password
Here is where you set the password your visitors will need to enter in order to login.

Activate Formula04 Site Lock
This must be checked in order for Formula04 SiteLock to take effect.

White Listed Pages
These are the pages that will be uneffected by Formula04 SiteLock. Your users will be able to visit these pages whether they are logged in according to Formula04 SiteLock or not.

Formula04 Site Lock Label
This is the label that will appear directly above the password form.

Formula04 Site Lock Redirection Location
This determines where a user will be redirected to if they try to view a non-whitelisted page without being logged in.

Note: *Whatever page you set this to, you will probably want to include the Formula04 SiteLock password form on it, so your users can log in.(See Usage).

How often do you plan on updating

As often as possible! Keep in mind this is supposed to be an extremely small and simple plugin at the moment. If you have any ideas or features you wanted added just let me know. Now if your chance 🙂

使用者評論

2018 年 2 月 7 日
The whitelist page displayed just fine, but click on any other page or post results in a URL with redirect, and no way to enter the selected password.
2017 年 7 月 28 日
I can has namespaces? Classes? Exception handling? Anonymous functions? Consistent indentation and structure? Dignity? Hokum!
2016 年 9 月 3 日
PERFECT !! I love the fact it's simple, easy and we can use a custom page or form to enter the password ! Just a little word for the developper : the shortcode you provided in "usage" as a whitespace between brackets and content, and when you copy/paste it as it is it will not work straight. Also you should put that shortcode in the explanation for simplier understanding..
閱讀全部 6 則使用者評論

參與者及開發者

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

參與者

將〈Formula04 Site Lock〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

0.1

Very basic version just meant as a proof of concept

1.0

Moved plugin into a class, stripped tons of uneeded code.