Membership 2 Pro Plugin, how to protect only half of a page?

Hi there,
I'm wanting to membership protect some of the content on my site, but not entire/full pages. Is there a simple way to have part of a page which can be seen by everyone, and to see the rest require the member to login?
Any suggestions would be much appreciated :slight_smile:

  • Predrag Dubajic
    • Support

    Hey @Pam,

    Hope you're doing well today :slight_smile:

    Protecting part of the page is currently available only with shortcode added in content that would wrap desired part of text.

    For example, if you create new page you would wrap content in shortcode so it looks like this:

    [ms-protect-content id="496"]
    This here content will be visible only to users withing membership with ID 496
    [/ms-protect-content]

    You can go to Membership 2 > Memberships and on far right you will see exact shortcode for each membership.

    Hope this helps and let us know if you have any additional questions :slight_smile:

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.