Logout Password Protected Posts

plugin banner

Provides a template tag for a link for visitors to log out of password protected posts. Add do_action('posts_logout_link') to your theme whe

Author:John Blackbourn (profile at wordpress.org)
WordPress version required:4.1
WordPress version tested:5.4.1
Plugin version:0.2
Added to WordPress repository:09-06-2009
Last updated:19-04-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://johnblackbourn.com/wordpress-plugin-l...
Total downloads:10 271
Active installs:300+
plugin download
Click to start download

There is no built-in way for your visitors to “log out” of password protected posts once they’ve entered the password. Even logged in users cannot log out of password protected posts by logging out of their account. This plugin solves that problem by providing a link for your visitors to log out of password protected posts.

Setup

After installing the plugin, add the following code somewhere in your theme to display a link for logging out of password protected posts:

<?php do_action( 'posts_logout_link' ); ?>

Screenshots
FAQ
ChangeLog