Community Support Forums — WordPress® ( Users Helping Users ) — 2010-09-18T09:00:04-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=773 2010-09-18T09:00:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=773&p=3327#p3327 <![CDATA[conditional stmt for some public content]]>
<?php if (S2MEMBER_ACCESS_LEVEL >= 1){ ?> <a href="<?php echo S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL; ?>"></a> <?php } else { ?> <?php } ?>

is "s2member_access_level" a valid call?

i want to use the condition for those posts that have an access restriction (e.g., access_s2member_level1, etc.) as opposed to basing the condition on whether the they are a current user.

thanks.

Statistics: Posted by taxgeeks — September 18th, 2010, 9:00 am


]]>