跳到内容

Protected Posts Logout Button

v1.4.6

Nate Reist · 2012年5月16日 上架

Automatically adds a logout button to your password protected content.

正在使用
1,000+
评分
4.9 / 5
累计下载
3.5 万
最近更新
2023年2月16日
13 条评价需要 WordPress 2.8+已测试到 6.1.17

贡献者

截图

Admin Screen for simple settings
Admin Screen for simple settings
Optional alert
Optional alert
Button added to the content
Button added to the content

This plugin simply adds a logout button to the content of any password protected post. Sometimes clients want a password protected page to share information with privileged individuals and the default 10 days for the cookie to expire is too long for their liking. So I wrote a little plugin to do this with AJAX and set the cookie to expire immediately, well actually 10 days in the past.

  • Works logged in or out as a WordPress user.
  • Uses the same functionality WordPress uses to set post cookies.
  • Has a simple settings page to make everything easier.
  • Allows you to alert user they have logged out.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums