We'll create fresh WordPress site with Pay For Post with WooCommerce installed. You have 20 minutes to test the plugin after that site we'll be deleted.
Quickly and easily sell access to pages, posts and custom post types through WooCommerce with Pay For Post with WooCommerce. I originally created this plugin because I looked everywhere, and I couldn’t find a plugin already out there, free or premium, that would do the simple fact of selling access to a particular page or post through WooCommerce. So I decided to write my own.
Getting everything setup will take you less than 5 minutes with three simple steps.
It’s that simple.
With the Premium version, you have several other options for protecting content like, time based, number of page views, etc.
How-to Install and Configure
How-to Protect a Page/Post
You can view a front-end demo by going to https://demo.pramadillo.com if you would like to schedule an admin demo please visit https://pramadillo.com/support and select Plugin Admin Demo.
The premium version of this plugin consists of more advanced features to really get the most out of selling your pages and posts! To purchase the premium version please visit https://pramadillo.com/plugins/woocommerce-pay-per-post/
[woocommerce-payperpost template='purchased']
This outputs an unordered list of the posts that have been purchased by the current user logged in.
There are several additional shortcodes available in the free and premium version. Take a look at https://pramadillo.com/plugins/woocommerce-pay-per-post/ for other available shortcodes.
IMPORTANT Out of the box this plugin will work with any theme which uses the standard WordPress function the_content()
. For those themes that do not utilize the_content()
you can use the following static functions in your templates.
Woocommerce_Pay_Per_Post_Helper::has_access()
This checks if the current user has access to the page. It returns true/false
Woocommerce_Pay_Per_Post_Helper::get_no_access_content()
This returns the content specified in the PPP Options.
For a full example of this take a look at https://pramadillo.com/plugins/woocommerce-pay-per-post/