PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
behladesign wrote:Which set of code would you recommend for my needs? I want level 0 only to see level 0. Level 1 and 2 can see the same content. Would i need to add this shortcode to every page that I want the restrictions to apply?
[s2If is_user_not_logged_in()]
Some public content, they're NOT logged in.
[/s2If]
[s2If is_user_logged_in()]
Content for anyone that is logged in, regardless of their Membership Level.
[_s2If current_user_is(s2member_level0)]
Content for members at exactly Level 0.
[/_s2If]
[_s2If current_user_is(s2member_level1) OR current_user_is(s2member_level2)]
Content for members at exactly Level 1 or 2.
[/_s2If]
[/s2If]
[s2If is_user_not_logged_in()]
Some public content, they're NOT logged in.
[/s2If]
[s2If is_user_logged_in()]
Content for anyone that is logged in, regardless of their Membership Level.
[_s2If current_user_is(s2member_level0)]
Content for members at exactly Level 0.
[/_s2If]
[_s2If current_user_is(s2member_level1) OR current_user_is(s2member_level2)]
Content for members at exactly Level 1 or 2.
[/_s2If]
[/s2If]
Users browsing this forum: Google [Bot] and 2 guests