Page 1 of 1

1 post, 2 different contents, how to protect?

PostPosted: November 30th, 2011, 5:12 am
by Confused_Dude
I have 1 post containing 2 pieces of audio content. The first audio file in the post I want to set to level 0 so it is accessible to everyone for free. The 2nd audio file I want to set to level 1 so it is restricted for paid members only.

How can I make this happen:?: :?: :?:

Re: 1 post, 2 different contents, how to protect?

PostPosted: November 30th, 2011, 10:56 am
by Eduan
You can try this video:
http://www.s2member.com/advanced-conditionals-video/

And you can check under WP Admin -> s2Member -> API Scripting -> Simple/Shortcode Conditionals, if you want to make it a little easier.

Hope this helps. :)

Re: 1 post, 2 different contents, how to protect?

PostPosted: November 30th, 2011, 1:01 pm
by Confused_Dude
Thank Eduan. This seems to be the solution but I don't wanna use this approach if everytime I switch back and forth from viewer to html view the inserted php code will get wiped out. MAJOR HEADACHE!!! :(

Re: 1 post, 2 different contents, how to protect?

PostPosted: November 30th, 2011, 1:04 pm
by Eduan
If you use the shortcode conditionals under WP Admin -> s2Member -> API Scripting -> Simple/Shortcode Conditionals you don't need to do it in the HTML Editor.

Hope this helps. :)