WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Use the excerpt feature, but don't show a login? (4 posts)

  1. kellyrnh
    Member
    Posted 2 years ago #

    Hi, love the plugin! Works great - I just have a small request. We have a login page, and block certain content on another page using the more tag. Can I disable the form showing up where the blocked content is? We don't necessarily want other viewers that don't have user access to know there is "hidden" content.

    Thanks!!!

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 2 years ago #

    Disabling the login form is being considered as an option, but it is probably not going to be worked into the project list for awhile.

    However, there is a shortcode that might accomplish what you are intending.

    There is a status parameter for the [wp-members] shortcode to show content based on whether the user is logged in or out. And whether the page is blocked or not doesn't matter (although if it's blocked, the login form is going to show). The downside to using this method would be if you have a lot of content, applying it is not something that is automatic. But it would work.

    The application of it would be as follows:

    This is content that I don't care if everyone sees. It can be read by anyone.

    [wp-members status="in"]This is content that can only be seen by logged in users. It will be blocked on any page or post.[/wp-members]

    Hope that helps.

  3. kellyrnh
    Member
    Posted 2 years ago #

    Yes! That worked perfectly, thank you!

  4. Chad Butler
    Member
    Plugin Author

    Posted 2 years ago #

    Good to hear!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags