Page 1 of 1

Single Post & Member Access

PostPosted: August 23rd, 2011, 7:13 am
by Weblanced
Can someone please tell me if there is a way to set multiple capabilities on posts in such a way that the post can be accessed by someone that has only one of those capabilities.

Here's the background:

We sell a subscription and subscribers have access to the current issue (post) and all past issues. We also want to be able to sell access to single posts. So we need any given post to be accessible by people that have two different capabilities.

I was hoping that there was a way to set capabilities on posts in a way that only one of the capabilities needs to be valid to grant access. For example a post could be given the capabilities apples & oranges - so that members with the capability apples can access it, and people that buy access as single post can be given the capability orange.

If this isn't possible can anyone think of another way to be able to make a post available to both long term subscribers and people that want to buy as a single post?

Thanks very much

Matt

Re: Single Post & Member Access

PostPosted: August 23rd, 2011, 3:38 pm
by Cristián Lávaque
You can do it using conditionals. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals or Advanced/PHP Conditionals