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

Visitor force login page

描述

Easily hide your WordPress site from public viewing by requiring visitors to log in first. As simple as flipping a switch.

Make your website private until it’s ready to share publicly, or keep it private for members only.

Features

  • WordPress Multisite compatible.
  • Specific page redirects visitors back to the url they tried to visit without login.
  • Extensive Developer API (hooks & filters).
  • Customizable. Set a specific URL to always redirect to on login.
  • Filter exceptions for certain pages or posts.
  • Restrict REST API to authenticated users.
  • Translation Ready & WPML certified.

屏幕截图

  • Settings

安装

Upload the Force Login plugin to your site, then Activate it.

Go to setting page & select menu => select Visitor force page & select a page.

You’re done!

常见问题

1. How can I specify a URL to redirect to on login?

By default, the plugin sends visitors back to the URL they tried to visit. However, you can set a specific URL to always redirect users to by adding the following filter to your functions.php file.

`
/**
* Set the URL to redirect to on login.
*
* @return string URL to redirect to on login. Must be absolute.
*/
1) Go to setting page & select menu => select Visitor force page & select a page.

Requires: WordPress 4.5 or higher

评价

此插件暂无评价。

贡献者及开发者

“Visitor force login page” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • just release plugin