Community Support Forums — WordPress® ( Users Helping Users ) — 2011-05-30T13:43:31-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=6557 2011-05-30T13:43:31-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6557&p=16324#p16324 <![CDATA[Re: How to partially protect posts]]>

Statistics: Posted by hapke — May 30th, 2011, 1:43 pm


]]>
2011-05-30T13:12:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6557&p=16321#p16321 <![CDATA[Re: How to partially protect posts]]>
Code:
My first 30 words...

[s2If current_user_can(access_s2member_level1)]
The rest of my post...
[/s2If]

[s2If !current_user_can(access_s2member_level1)]
Ask him to purchase access.
[/s2If]
* The ! before the condition means "not".

I hope that helps. :)

Statistics: Posted by Cristián Lávaque — May 30th, 2011, 1:12 pm


]]>
2011-05-30T10:10:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6557&p=16306#p16306 <![CDATA[Re: How to partially protect posts]]> [insider]protected content[/insider]
Will that work?

Statistics: Posted by hapke — May 30th, 2011, 10:10 am


]]>
2011-05-25T16:49:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6557&p=15902#p15902 <![CDATA[Re: How to partially protect posts]]> WP Admin -> s2Member -> API / Scripting -> Using Simple Conditionals.

Statistics: Posted by Cristián Lávaque — May 25th, 2011, 4:49 pm


]]>
2011-05-25T04:47:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=6557&p=15844#p15844 <![CDATA[How to partially protect posts]]>

I have another setup problem: i'd like to make every protected post readable for the first 30 words and then show an invitation to signup just like "to read the entire article please join one of our plans".

In this way i can mantain the indicization on search engines of theese pages....

Statistics: Posted by irtimood — May 25th, 2011, 4:47 am


]]>