Community Support Forums — WordPress® ( Users Helping Users ) — 2011-03-30T07:17:25-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2883 2011-03-30T07:17:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2883&p=8608#p8608 <![CDATA[Re: Multiple [s2If] shows higher level content]]>
benchefe wrote:
[_s2If current_user_can(access_s2member_level2)]
<li><a href="/wp-admin/">Admin</a></li>
[/_s2If]

you forgot the "_" in front of the shortcodes!

Greetings


Thank you benchefe. Turns out I didn't need the "_" because I wasn't using a nested statement... but I was missing the first end-if. Your comment helped me take a closer look. Thanks!

Michael

Statistics: Posted by vbsql7 — March 30th, 2011, 7:17 am


]]>
2011-03-30T05:51:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2883&p=8607#p8607 <![CDATA[Re: Multiple [s2If] shows higher level content]]> <li><a href="/wp-admin/">Admin</a></li>
[/_s2If]

you forgot the "_" in front of the shortcodes!

Greetings

Statistics: Posted by benchefe — March 30th, 2011, 5:51 am


]]>
2011-03-30T05:21:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2883&p=8606#p8606 <![CDATA[Multiple [s2If] shows higher level content]]>
[s2If !current_user_can(access_s2member_level1)]
This area is for Residents only.
[/s2If]
[s2If current_user_can(access_s2member_level1)]
<ul>
<li><a href="/residents-list">Residents List</a></li>
<li><a href="/facilities-information/">Facilities Info</a></li>
<li><a href="/forum">Forum</a></li>
<li><a href="/polls">Poll</a></li>
<li><a href="/my-profile">My Profile</a></li>
[s2If current_user_can(access_s2member_level2)]
<li><a href="/wp-admin/">Admin</a></li>
[/s2If]

[s2If current_user_can(access_s2member_level1)]
<li><a href="/wp-login.php?redirect_to=/resident-home">Log Out</a></li>
</ul>
[/s2If]


Thanks for any help you can provide.
Michael

Statistics: Posted by vbsql7 — March 30th, 2011, 5:21 am


]]>