Community Support Forums — WordPress® ( Users Helping Users ) — 2012-01-25T11:51:22-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=17019 2012-01-25T11:51:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17019&p=61538#p61538 <![CDATA[Re: How to hide content from users on template pages]]>
Check under WP Admin -> s2Member -> API / Scripting -> Custom Capabilities Packages, in there you should find info about custom capabilities, and conditionals for using them.

You could also check these videos:
http://www.s2member.com/custom-capabilities-video/
http://www.s2member.com/advanced-conditionals-video/

Hope this helps. :)

Statistics: Posted by Eduan — January 25th, 2012, 11:51 am


]]>
2012-01-25T11:34:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17019&p=61537#p61537 <![CDATA[Re: How to hide content from users on template pages]]>
Its a bit more complicated then that (its basically a widget of PDF's that I need to hide) but thats the general idea.

Statistics: Posted by hazardous_waster — January 25th, 2012, 11:34 am


]]>
2012-01-25T10:28:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17019&p=61532#p61532 <![CDATA[Re: How to hide content from users on template pages]]> Statistics: Posted by Eduan — January 25th, 2012, 10:28 am


]]>
2012-01-25T05:06:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=17019&p=61525#p61525 <![CDATA[How to hide content from users on template pages]]>
I'm looking at using S2 member on another one of my projects and have used it in the past and its been great but I need to use it for something a bit different this time and I'm not sure it has the functionality.

So I can hide and display content depending if you’re logged in or not as such on any page or on any post

[s2If is_user_logged_in()]
This displays if user is loged in
[/s2If]

[s2If is_user_not_logged_in()]
This displays if user is NOT loged in
[/s2If]

But what I need to do is hide actual elements and functionality in a Wordpress template ... so basically what I need to do is something like that as a PHP expression, make sense, is that possible?

Regards Neil Kelsey

Statistics: Posted by hazardous_waster — January 25th, 2012, 5:06 am


]]>