Support » Fixing WordPress » How To Use Passwords in Posts

  • Hello,

    I am looking for a solution to the following problem.

    I would like to offer those who have signed up to my newsletter on my blog additional content. The content would be, for example, an extended version of an interview (as a post), where-as the non-subscriber would see only the short version of an interview (as a post).

    What is the best way to give subscribers access to certain posts or pages, while hiding access to these posts/pages to non-subscribers? I thought about creating two posts for each interview, and sending subscribers a password that would be required to unlock the access to specific posts using the “password protected” option in the edit post screen.

    Is there another option that I am not thinking of?

    Thanks
    Russ

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can include this code ( http://pastebin.com/WTCyrsB1 ) in your functions.php wich will allow you to use a members shortcode. The part you’ll put in this shortcode will be invisible to non-members of your website 🙂

    thanks nithou, but my page does not require log-ins. my email subscribers are people who have just signed up to receive my email newsletter. I’m not sure how this would differentiate non-subscribers from subscribers.

    esmi

    (@esmi)

    Forum Moderator

    What is the best way to give subscribers access to certain posts or pages, while hiding access to these posts/pages to non-subscribers?

    Password protect the post and then send out the password via your email newsletter.

    The easiest way to password protect your posts is to click on Pages, hover over a page you want to protect, and click on Quick Edit. There it will allow you to type in a password, which you can send to your subscribers. Click Update and you’re good to go.

    Thanks for your responses esmi and Craig. I think I am going to do this:

    – Create two posts…one is password protected (subscribers will get that password via email) which includes the full-length interview, the second is unprotected, and includes the short interview.
    – The unprotected post will be the short interview, with links directing the reader to the full-length interview, and letting them know they need to subscribe to receive the password via email.

    If anybody knows a way to collapse content in a single post, and make the collapsed portion password protected, that would be ideal so I don’t have to create two posts.

    Thanks
    Russ

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How To Use Passwords in Posts’ is closed to new replies.