描述
WordPress plugin that adds a metabox to posts, pages, and custom post types where you can select if the content requires a login and what role is allowed to view the content. The native auth_redirect function is used to redirect users to the login page.
安装
This section describes how to install the plugin and get it working.
- Upload
simple-require-login
folder to the/wp-content/plugins/
directory - 通过WordPress的“插件”菜单激活插件
常见问题
None yet!
评价
2017 年 3 月 7 日
Great simple little plugin. It’s just what I needed to force logins on specific pages.
贡献者及开发者
更新日志
0.2
- Added condition so that metabox doesn’t show up on ACF and menu pages. Added an option to redirect to SSL.
0.1
- Initial Release