Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Partial Protection: "visible_to" both Expired and Inactive Members

Simple Membership Plugin › Forums › Simple Membership Plugin › Partial Protection: "visible_to" both Expired and Inactive Members

  • This topic has 5 replies, 3 voices, and was last updated 1 year, 11 months ago by admin.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • June 24, 2018 at 7:14 pm #14773
    jscmal
    Participant

    Hi,
    I tested the Partial Protection Addon.

    I see that the shortcode

    [swpm_protected visible_to=""]

    works ONLY for the expired or for the inactive members. But it doesn’t work for both.

    These works:

    This works: [swpm_protected visible_to="expired"]

    This works: [swpm_protected visible_to="inactive"]

    This shows the partial content only to inactive members:

    [swpm_protected visible_to="expired inactive"]

    Is there a way to make work the shortcode to show a partial content both to inactive members and to expired members?

    Thanks for your support.

    Kind regards

    G.Aloe

    June 24, 2018 at 10:56 pm #14776
    mbrsolution
    Moderator

    Hi,

    Is there a way to make work the shortcode to show a partial content both to inactive members and to expired members?

    Please check the following documentation. Let me know if this would work for you.

    Thank you

    June 25, 2018 at 8:24 am #14779
    jscmal
    Participant

    Hi,
    I checked all the documentation related to it.

    I already use the More tag to limit the visibility of a content to only members.

    But above the more tag, I publish a partial content that has to be visible ONLY to Expired and Inactive members.

    The shortcode with “visible_to” work only for expired OR only for Inactive members.

    This forces me to set all the users that are not more members to expired or inactive.

    The shortcode doesn’t manage both the status.

    Will be this managed in future? 🙂

    June 26, 2018 at 5:38 am #14780
    admin
    Keymaster

    I will try to add an option for it in the future.

    July 12, 2018 at 3:56 pm #14903
    jscmal
    Participant

    Hi,
    I have another thing to show you.

    When I use the shortcode to hide a text. I see that in the HTML code, the shortcode add

    <br>.

    This causes a white row, not necessary and not required, on the page, for those users who have the text hidden.

    Can you manage it for the future releases?

    Kind regards

    G. Aloe

    July 30, 2024 at 8:04 am #28578
    admin
    Keymaster

    We have added a new parameter for ‘account_status’ in the partial protection shortcode. It can be used to protect content based on the member’s account status.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy