Practical Examples when to use Membership Shortcode

Hi there,

after creating a new membership level the overview displays then a dedicated shortcode to each level.

Would you mind to give one better two example when to use best those shortcodes?

Thanks

  • Tyler Postle

    Hey Prinz,

    Hope you're having a great weekend!

    Yes, so for the membership shortcode, it is most commonly used to protect content within a page or post.

    For example, maybe you don't want to protect the entire post - just 1 paragraph. Then you can do this:

    [ms-protect-content id="10"]
    paragraph one - only seen by users with membership of id=10
    [/ms-protect-content]
     paragraph two - seen by everyone
    
    paragraph three - seen by everyone

    That is one example. You can also use it in text widgets as well :slight_smile:

    A situation I saw another user using it yesterday was that they were a graphic designers and had a portfolio with their clients and on each client page they had the download link for that client to download the graphics or whatever other files they needed. Of course, they don't want everyone to be able to download those materials but they do want everyone to see the rest of the portfolio page.

    In that case they protected just the download link. ie:

    portfolio page content
    [ms-protect-content id="10"]
    download link
    [/ms-protect-content]
    more portfolio page content

    Hope that helps clear things up Prinz! If you have any further questions on that just let us know :slight_smile:

    Cheers,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.