Community Support Forums — WordPress® ( Users Helping Users ) — 2012-02-02T14:05:14-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17109 2012-02-02T14:05:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17109&p=62164#p62164 <![CDATA[Re: Restrict lower level shortcodes]]> header.php) and do something like this:

Code:
<?php if(is_user_logged_in()) { ?>
Welcome!
<?php } else { ?>
<a href="/login/">Login</a>
<?php } ?>

Statistics: Posted by Raam Dev — February 2nd, 2012, 2:05 pm


]]>
2012-02-01T14:25:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17109&p=62120#p62120 <![CDATA[Re: Restrict lower level shortcodes]]> Statistics: Posted by moymoy_101890 — February 1st, 2012, 2:25 pm


]]>
2012-02-01T06:42:18-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17109&p=62086#p62086 <![CDATA[Re: Restrict lower level shortcodes]]> Statistics: Posted by moymoy_101890 — February 1st, 2012, 6:42 am


]]>
2012-01-31T18:43:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17109&p=62047#p62047 <![CDATA[Re: Restrict lower level shortcodes]]> WP Admin -> s2Member -> API/Scripting -> Advanced/PHP Conditionals for more info).

If they are logged in, don't show the content. If they are not logged in, show the content. You will need to install and activate the Exec-PHP Plugin before you can use this code on a post/page:

Code:
<?php if(is_user_logged_in()){ ?>
    Content for anyone that is logged in, regardless of their Membership Level.
<?php } else { ?>
    Some public content.
<?php } ?>

Statistics: Posted by Raam Dev — January 31st, 2012, 6:43 pm


]]>
2012-01-31T16:32:57-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17109&p=62019#p62019 <![CDATA[Restrict lower level shortcodes]]> Statistics: Posted by moymoy_101890 — January 31st, 2012, 4:32 pm


]]>