PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Shortcode to check if post has been purchased

s2Member Plugin. A Membership plugin for WordPress®.

Shortcode to check if post has been purchased

Postby zim_wayne » January 9th, 2012, 1:22 pm

Hi,

I just wanted to say thank you for a really fantastic plugin. I have used some other paid membership plugins in the past and none of them are as easy to configure or give an end user experience that rivals s2.

Please could you let me know if there is a shortcode or a php function that I could call to find out whether a registered member has purchased a post/page before?

What I would like to do is create a table showing members what posts they have purchased and give them access to those posts and also display those posts that are still available to purchase.

Many thanks again
Wayne
User avatar
zim_wayne
Registered User
Registered User
 
Posts: 1
Joined: January 9, 2012

Re: Shortcode to check if post has been purchased

Postby Raam Dev » January 11th, 2012, 1:00 pm

Hi Wayne, thank you for the KUDOS! Glad to hear you're enjoying s2Member. :)

Regarding your question: You can do that using Advanced/PHP Query Conditionals. Please see examples #1, #2, and #5 under WP Admin -> s2Member -> API / Scripting -> Advanced/PHP Query Conditionals.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests

cron