跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Require Login

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

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

Require Login

作者:richard4339
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

A simple plugin for WordPress that redirects users to the login page whenever they try to visit any page/post/etc on the blog, with an option menu to turn this functionality on or off. When enabled, the entire blog essentially becomes a private blog.

To Do

  • Nothing currently. If you have any requests, please submit them on GitHub.

Git/Subversion

In addition to the subversion access that WordPress is providing, this plugin is available through git at GitHub.

屏幕截图

  • The Require Login Settings page.

安装

  1. Upload wp-require-login.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to the ‘Require Login’ Settings menu and enable.

常见问题

How do I enable this plugin?

Once the plugin itself is installed, navigate to the ‘Require Login’ Settings menu, check the lone checkbox, and click ‘Update Options’.

I’m running a build of WordPress that is older than 3.3. Can I use this plugin?

I personally wrote this for a WordPress installation in early 2008. When I revived it a few days ago, I did have to make some changes. In all honesty, it should work with 3.2 onwards, or on even earlier versions with the Settings menu portions removed from the code. I’m only listing 3.3.0 since this is the earliest version I can guarantee it works with.

I found a bug!

Please report the bug on our issue tracker at GitHub.

评价

Still works

Tachi 2018 年 11 月 28 日
I’m using this plugin (version 1.0.1) for almost 4 years without any problems. Now with WP 4.9.x still flawless.
阅读所有7条评价

贡献者及开发者

「Require Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • richard4339
  • cmwelsh

帮助将「Require Login」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.0.3

  • Added cmwelsh as a contributor

1.0.2

  • Update to README only for version verification.

1.0.1

  • Minor update from cmwelsh: Replaced deprecated user level requirement with manage_options requirement.

1.0

  • Added plugin installation and uninstall functions to aid option table cleanup.

0.5.1

  • First published version.

额外信息

  • 版本 1.0.1
  • 最后更新:11 年前
  • 活跃安装数量 500+
  • WordPress 版本 3.3.0 或更高版本
  • 已测试的最高版本为 4.1.42
  • 语言
    English (US)
  • 标签
    adminloginprivate
  • 高级视图

评级

5 星(最高 5 星)。
  • 7 条 5 星评价 5 星 7
  • 0 条 4 星评价 4 星 0
  • 0 条 3 星评价 3 星 0
  • 0 条 2 星评价 2 星 0
  • 0 条 1 星评价 1 星 0

Your review

查看全部评论

贡献者

  • richard4339
  • cmwelsh

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.