该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Formula04 Site Lock

Description

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.

Installation

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 🙂

Reviews

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评价

Contributors & Developers

“Formula04 Site Lock” 是开源软件。 以下人员对此插件做出了贡献。

Contributors

将“Formula04 Site Lock”翻译成您的语言。

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by 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.