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

  1. hoofedcracker
    Posted 3 years ago #

    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.

    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!


  2. Chad Butler
    Plugin Author

    Posted 3 years 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
    Posted 3 years 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

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic