WordPress.org

Ready to get started?Download WordPress

Forums

Logout Password Protected Posts
[resolved] In need of an update... (1 post)

  1. Kahil
    Member
    Posted 2 years ago #

    Since I just started using this plugin, I don't know if this is a new issue or has always been there... but the "logout" link is showing up on every page or post rather than just the page or post that you logged into.

    For instance... I have the code to show the "logout" link placed in a section of a template file. I log into a password protected page, and if I visit another page or post that isn't password protected and the link still shows. Ideally the "logout" link should only show if the user is logged into the password protected page or post and hidden if the page or post isn't password protected, etc.

    I have tried to wrap the code in a conditional that I know works for showing or hiding things based on if the page is password protected...and it shows up no matter what...

    please fix.

    thanx

    http://wordpress.org/extend/plugins/logout-password-protected-posts/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic