WordPress.org

Ready to get started?Download WordPress

Forums

Members Only Page (3 posts)

  1. trich1
    Member
    Posted 3 years ago #

    Hello all!

    I just have a quick question - I have one page (not post) on my site that I'd like to lock to non-members.

    I want them to see that it's there, but when they click on it I'd like a notice telling them to login to view this page, does anyone have a suggestion of a good plugin for this?

    One I tried was Member Access, but this only shows non-members the 404 page - I want them to know they need to login to view this page. A javascript popup would be pretty cool, then they'd see the page in the background, but a normal page is fine too.

    Also, if it comes with a login button / login with Facebook / registration form built in then that would be pretty rad too, but not vital.

    So any suggestions / ideas would be great!
    Thanks!

  2. trich1
    Member
    Posted 3 years ago #

    Anyone? =D

  3. blahblahyaya
    Member
    Posted 3 years ago #

    Hey, you could do this with the free version of wp-members (except for the Facebook login bit).

    Do this:
    1. install and activate the wp-members plugin
    2. immediately UNcheck the "block posts by default" option in the wp-member admin and save options. Otherwise your entire site will be blocked.
    3. go to the post or page you want to block and add a custom field called "block" with a value of true or 1.

    Bonus: If you want to show the first part of the content on the page before the blocked messages shows up, turn on "show excerpts" and add the <!--more--> link into the protected post. (you still have to do step 3. above for each post or page to be blocked.)

    Hope that helps!
    Andy

Topic Closed

This topic has been closed to new replies.

About this Topic