Some of you probably already use private and password protected WordPress posts on a daily basis. Some of you are still not aware that the option is that easily accessible in post’s options and if so, you will probably want to discover this neat option that gives you the ability to control who can see the post that you’re about to publish.
While you can protect a post with a click of a button, making part of a post available only for logged in users or guests will ask for a little modifications and you can even make the content visible/hidden for specific user roles.
When you set a post as password protected and enter the password for it, you are restricting all other users from accessing the content. But once you enter the password in a field and reveal the hidden content, you might be actually giving access to others if you’re viewing the site on a public computer.
If you haven’t noticed, there is no logout button for those kind of posts! While this won’t hurt you if you’re accessing the protected post from a personal computer, you can get in trouble if you open the post on a public one. Once entered, the password stays in the browser and protected content actually stays available for any other user on that computer.
Yes, you can, and you should, delete your browsing data after you use public computer, but how many of you actually remembers to do that every time you use such computer?
To make everything easier for your visitors, we will show you how to add logout button to your password protected posts.
Protected Posts Logout Button
This plugin is free and very simple to use which will really help you in this case. Once you install and activate it, the plugin will automatically add a logout button to each and every password protected post you publish.
You can choose to show an alert message for user who has successfully logged out and modify that message as you wish.
Don’t worry; while the default button looks pretty plain and unnoticeable, the plugin adds a CSS class to it so you can style the button easily with few lines of the code.
And that’s it. There is actually no need for any other features in this case. Add a button, style it and make sure your visitors notice the button within the protected content. After you have done that, users with access to your password protected posts won’t have to worry about clearing browsing data or worry that someone will have access to the post after them.
Private content sounds much more private now, right?