WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Adding 'blocked' data to memers-area page (3 posts)

  1. hoofedcracker
    Member
    Posted 1 year ago #

    Hi,
    I cant seem to add any 'blocked' data after the [wp-members page="members-area"]. In other words, If I add anything after said shortcode- it will display regardless of the users status (logged in or out).

    I can add data after the shortcode, but it is not dependent on whether the user is logged in or not.

    I have tried it with 'auto exerpt' on/off,
    I have tried <!--more-->,
    I have tried using the status shortcode- [wp-members status="in"]
    this content can only be seen by logged in users.
    [/wp-members]

    Cant think of anything that I could do to work around this.

    Any info would be greatly appreciated!

    BTW, Very impressive plugin!

    Cheers from Australia!

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

  2. Chad Butler
    Member
    Plugin Author

    Posted 1 year ago #

    Actually, you can't do what you are trying to do. Without going into history and code, suffice to say the "page" parameters for the shortcode weren't designed with that in mind.

    If what you want is some additional content on the page's logged in state, you can actually do that with the wpmem_member_links filter.

  3. hoofedcracker
    Member
    Posted 1 year ago #

    Thank you very much for your response!!

    Very Grateful.

    Have a good day!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic