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 current_user_is(s2member_level0)]
Some content for Free Subscribers.
[/s2If]
[s2If !current_user_can(access_s2member_level0)]
Some public content.
[/s2If]
<?php } else if (current_user_is("s2member_level0")){ ?>
Some content for Free Subscribers.
<?php } else { ?>
Some public content.
<?php } ?>
Free content first.
[s2If !current_user_can(access_s2member_level0)]
The user is not logged in, ask him to register and/or log in.
http://yoursite.com/wp-login.php
http://yoursite.com/wp-login.php?action=register
[/s2If]
[s2If current_user_can(access_s2member_level0)]
Content for logged in users.
[/s2If]
[s2If !current_user_can(access_s2member_level1)]
The user can't access Level 1 content. Button to upgrade.
[/s2If]
[s2If current_user_can(access_s2member_level1)]
Content for users at Level 1 or higher.
[/s2If]
Users browsing this forum: No registered users and 0 guests