- This topic has 1 reply, 2 voices, and was last updated 4 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Section Protection Addon
Hi !
I am creating a plugin for my WordPress site and i am using Simple Membership to manage my users. I have some tabs and one of the tabs have restricted content. I am using the addon and it works perfectly. My problem is that i am calling my plugin with a shortcode and it is display even if the user is not allowed. My code looks like this :
[swpm_protected for=”3″]//only for member with id 3
some content //it works, only display for member with id 3
[chart_creator]//shortcode for my plugin // it is always displayed
[/swpm_protected]
Did someone already try this ? Or dis someone know how to solve it ?
Thanks !
Hi, have you followed the instructions below?
https://simple-membership-plugin.com/apply-partial-section-protection/
Thank you.