I have been using simple conditionals to enable people to access more of a post depending on their membership level. Now I want to use nested conditional (or I think I do) to go a little further. Basically I want to post access to work as below:
First part of post content available to anyone.
Content for subscribers at level 0
Content for Level 1
----
The way I have been trying to do this is as:
First part of post content available to anyone.
[s2If is_user_logged_in()]
Content for subscribers at level 0
[s2If !is_user_logged_in()]Join as a free member to read more.[/s2If]
[s2If current_user_can(access_s2member_level1)]
Content for Level 1
[/s2If] [s2If !current_user_can(access_s2member_level1)]
Join at Level 1.
[/s2If]
This doesn't seem to work as it just brings up the Level1 option. I'm sure it's simple but I just can't get my head around the correct conditionals. If you could just show me the correct conditionals for this, it would be most helpful.
Many thanks
DavidStatistics: Posted by reallysimpleseo — October 27th, 2011, 7:16 am
]]>