Community Support Forums— WordPress® ( Users Helping Users ) —2010-07-08T06:09:35-05:00http://www.primothemes.com/forums/feed.php?f=4&t=3382010-07-08T06:09:35-05:00http://www.primothemes.com/forums/viewtopic.php?t=338&p=1458#p1458For the benefit of other readers, you can find documentation on "Advanced Conditionals", inside your WP Dashboard, under: s2Member -> API Scripting -> Advanced Conditionals.
Statistics: Posted by Jason Caldwell — July 8th, 2010, 6:09 am
]]>2010-07-05T06:22:59-05:00http://www.primothemes.com/forums/viewtopic.php?t=338&p=1389#p1389 <?php if (is_user_logged_in() && current_user_can("access_s2member_level1")){ ?> Some content for Members who are logged in with an s2Member Level >= 1. <?php } else { ?> Some public content. <?php } ?>
Statistics: Posted by Guest — July 5th, 2010, 6:22 am
]]>2010-07-05T06:19:42-05:00http://www.primothemes.com/forums/viewtopic.php?t=338&p=1388#p1388I want to exclude a part of the site hardcoded by myself. So looking for something like:
if(is_membership_level(bronze)){ /////print content }else{ ////print protected area info }
Statistics: Posted by Guest — July 5th, 2010, 6:19 am