• Hi guys,

    I’ve been trailing the internet for the last couple of days trying to find a very simple functionality for WP but I see that no one really implemented it. That’s why I turned to the forum and here I am, asking for your help.

    What I need is this:

    1. Have a page with an “Enter Password” form
    1. Protect each post with a password (easily done in WP as standard)
    2. Hide all these protected posts under the page with the password form.
    3. Visitors who enter a password will see ONLY the post matching that password, the other posts still remaining hidden.

    You see, in the standard WP installation you can easily password protect the entire page, but once you enter the password then all the other post titles on that page are going to be shown, whether protected or not.

    Also, you can easily protect each post with a different password, but then again, you need to scroll to the post for which you know the password in order to enter it.

    I’ve tried several plugins so far (User Access Manager, Role Manager, Private! WordPress Access Control Manager, Login with Ajax, WP-Members, etc.) but all of them ask for a REGISTERED user to login.

    I need to show only a protected post based on the password associated with it and hide all the others. The person who enters the password doesn’t need to be a registered user, it could be anybody that I email the password. And once they got the password, just simply go to the page displaying the form, enter the password and see the post protected with that password. Nothing else, nothing more.

    Do you guys know of any such plugin or code or anything that does something like that, or similar? It could be code that is close to what I need, I could modify it to a certain extent, but I’m by no means an expert in PHP. Or anything, any help much appreciated.

    Many thanks

  • The topic ‘How to show ONLY the post with matching password’ is closed to new replies.