• Resolved lhoyd2

    (@lhoyd2)


    Hi!
    I’m unable to use categroy protection as all of our posts are in several categories – so even if ai set up a membership for category A, the fact that it is also in category B means that its still protected

    So, I’m going down the route of individual post protection – I’ve just retrospectively added new post protection rules for over 250 posts but now I realise that this means that previews (excerpts and thumbnails) displayed in front page widgets dissapear!

    Is there a way to prevent this? I’m using this excellent plugin as it was the only one that let me display previews – but it does not work with individual post protection

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @lhoyd2,

    There is another option in Membership 2 you could use. Instead of Protecting Indyvidual posts, you can protect “read more” part of the post.
    So it will display feature image and excerpt and everything that’s under (so, after “read more”) will be protected.

    You could also make use of [ms-protect-content id=”40802″][/ms-protect-content] shortcode by changing the number to id of the membership wanted to be used, you use two memberships by seating the IDs by a comma.

    and wrapping the content you want to hide inside. the final result will look like this

    [ms-protect-content id="40802"]
    
    Protected content
    
    [/ms-protect-content]

    The above text will now only appear for users with membership ID 40802.

    You can get memberships ids by navigating to Membership 2 > Memberships , then click show

    kind regards,
    Kasia

    Plugin Author jdailey

    (@jdailey)

    Thank you for using Membership 2. I am going to close this topic for now. If the solution did not work for you or you have any questions let us know and we can reopen the thread.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Show excerpts with post protection’ is closed to new replies.