Hi there. Thanks for your inquiry.
Yes, you can use s2Member to accomplish this.
You'll want to use s2Member's Advanced Conditionals.
Here is a quick example:
- Code: Select all
<?php if(is_user_logged_in()){ ?>
<a href="#">Link 1</a> - <a href="#">Link 2</a>
<?php } else { ?>
Link 1 - Link 2
<?php } ?>
For further details, please install the s2Member plugin. Then, from your WP Dashboard, go to: s2Member -> API Scripting -> Advanced Conditionals. There are additional examples there.
Another example:
- Code: Select all
<?php if(is_user_logged_in() && current_user_can("access_s2member_level1")){ ?>
<a href="#">Link 1</a> - <a href="#">Link 2</a>
<?php } else { ?>
Link 1 - Link 2
<?php } ?>