Home Plugins protected posts logout button
Protected Posts Logout Button logo

Protected Posts Logout Button

by Nate Reist on WordPress.org

Automatically adds a logout button to your password protected content.

(13)
Admin Screen for simple settings

Admin Screen for simple settings

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.
Active installations2K+
Weekly downloads
19-45.71%
Version1.4.6
Last updated2/16/2023
WordPress version2.8
Tested up to6.1.7
Tags
logoutpassword protected posts logout buttonwordpress security