Community Support Forums — WordPress® ( Users Helping Users ) — 2010-08-05T13:02:58-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=504 2010-08-05T13:02:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=504&p=2126#p2126 <![CDATA[Re: Page Restrictions]]> ~ Much appreciated.

I've also done a video tutorial on this topic that might help:
http://www.s2member.com/advanced-conditionals-video/

Statistics: Posted by Jason Caldwell — August 5th, 2010, 1:02 pm


]]>
2010-08-03T17:24:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=504&p=2042#p2042 <![CDATA[Re: Page Restrictions]]>
?php if (current_user_can('s2member_level1')) { // put your access level here

echo ('hello');


} else { echo 'goodbye'; } // or even redirect them out to another page or include some text

?>

Statistics: Posted by Guest — August 3rd, 2010, 5:24 pm


]]>
2010-08-03T15:55:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=504&p=2041#p2041 <![CDATA[Page Restrictions]]>
I wish to create a template page that will have the restriction levels hard coded in , eg lets say I have a template page for gold level members and in the template file have a bit of code at the top for the access level.
so i can use the template over and over for the the page

My goal is not to have to log in to the blog to set the page number to restrict each page is it possible? if so what would be the php code to put in place ?

Statistics: Posted by webboy — August 3rd, 2010, 3:55 pm


]]>