PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™
[s2If !is_user_logged_in()]
Display the content for all visitors, but hide the page for registered, and paid members
[/s2If]
[_s2If current_user_is(s2member_level0)]
Display the "sales page" for registered members, but, hide the specific "sales" page for visitors, and the page for paid members.
[/_s2If]
[_s2If current_user_is(s2member_level1)]
Display the page for Paid memers, but hide the previous two pages
[/_s2If]
<?php if (current_user_is("s2member_level1")) && (current_user_can("access_s2member_ccap_BASIC")){ ?>
Display the content for the ccap Basic.
<?php } else if (current_user_is("s2member_level1")) { ?>
Display the content for registered members only
<?php } else if (current_user_is("s2member_level0")){ ?>
Display the content for registered members only
<?php } else { ?>
Display the general "sales" page for general public
<?php } ?>
<?php if (!is_user_logged_in()) { ?>
You should see this general public leaf
<?php } ?>
<?php if (current_user_is("s2member_level0")) { ?>
You should see this leaf
<?php } ?>
Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 2 guests