s2Member API / Scripting Conditionals
Posted: May 20th, 2010, 1:23 pm
Is there something with the s2member conditional framework that precludes the use of PHP code?
- Code: Select all
<?php if (S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 3){ ?>
<?php dynamic_sidebar('members'); ?>
<?php } else { ?>
<?php dynamic_sidebar('pages'); ?>
<?php } ?>