1. January Free Plugin of the Month: EDD Variable Pricing Descriptions
  2. February Free Plugin of the Month: Shortcodes for Easy Digital Downloads
  3. March Free Plugin of the Month: WooCommerce Pay Per Post
  4. April Free Plugin of the Month: EDD Coming Soon
  5. Free Plugin of the Month: Set Minimum Checkout Amount for EDD
  6. July Free Plugin of the Month: Add Size Charts to WooCommerce
  7. September Free Plugin of the Month: View Customer List by Product

In this month’s free plugin review, we’ll take a look at how you can restrict content access to only customers who purchase a product on your WooCommerce store. This is similar to creating a simple membership site where paid members get access to additional content.

You can restrict content access on a per-post or per-page basis using the free WooCommerce Pay Per Post plugin. Let’s take a look at how you can set this up.

The WooCommerce Pay Per Post plugin does require you to have WooCommerce active on your site. After you’ve installed the WooCommerce Pay Per Post plugin, the first thing you can do is to set up a product that customers need to purchase in order to gain access to specific content.

Let’s set up a virtual product priced at $50 that will give access to posts on the site.

woocommerce pay per post product setup

Product that is required to be purchased to gain access

Next, we will grab the product ID – “22” in this example – and create a generic message that is displayed when a user lands on a restricted area of the site. To do this, we will go to Settings > WooCommerce Pay Per Post in the WordPress dashboard.

woocommerce pay per post settings

Create message to display for restricted content

This message will be displayed whenever a user lands on a restricted page for which they have not purchased the prerequisite product. You can use WooCommerce shortcodes to link to specific products that users can purchase to gain access. If you have custom post types that you would like to display this message for, you can include these in the field at the bottom.

Next, let’s create a post that’s restricted. You can restrict any page or post by defining the product(s) that need to purchased to gain access in the WooCommerce Pay Per Post section.

woocommerce pay per post product requisites

Set the products that need to be purchased for access

You can select multiple products that are required to be purchased for certain posts or pages. The Delay Restriction, Page View Restriction, and Expiry Restriction features are not available in the free plugin.

WooCommerce Pay Per Post: Display restriction

Once you’ve set up the restricted content, whenever a user lands on the page, post, or on the post archive pages, they will be shown the message that’s created in the plugin settings.

woocommerce pay per post message archive

Message on restricted content

In the example above, the “Another hello world” post is restricted, whereas the “Hello World!” post is not restricted. The restricted content area links to the product that can be purchased to gain access.

You can add links back to the posts or pages that a product provides access to in the checkout notes section for easy navigation.

WooCommerce Pay Per Post: Additional views

You can use the shortcode [woocommerce-payperpost template='all'] on a page to display all content that is available for purchase on your site in an unordered list.

woocommerce pay per post available content purchase

List of all content available for purchase

This can help users see an inventory of restricted content on your site. For logged in users, you can display all content that they currently have access to using the shortcode [woocommerce-payperpost template='purchased'].

WooCommerce Pay Per Post: Summary

The WooCommerce Pay Per Post plugin provides a simple and easy way to have users pay for access to restricted posts on your WooCommerce site. This allows you to set up a basic membership site where customers pay for different areas of access.

Is there something else you use to create paid content access? Please share in the comments below.

Note: This post may contain affiliate links, which means we get a commission from the plugin, theme, or service provider if you choose to purchase. Regardless of this, we are committed to providing high quality, unbiased resources. Have more questions? See our affiliate policy. You can use the plain links below if you prefer that we not receive a referral commission:

Posted by Jai Sangha

Jai is a regular contributor to Sell with WP, and helps merchants improve their WordPress eCommerce businesses with plugin reviews, marketing or customer service tips, and tutorials.


  1. Hi
    I would like to sell streamed video hosted at Vimeo but embedded in my WordPress site
    1/ Content Restrict Pro seems to much subscription oriented
    2/ WooCommerce does only provide to download files (videos, PDF, …) not to allow to stream a protected Vimeo video
    Do you think this plug-in could do the job?
    Kind Regards,

    1. Hey Pet, if you’re looking to sell one-off access (not recurring billing), this plugin is an option that I’d have on my list!

  2. I just wanted to let you know I just released a new version of this plugin yesterday with a ton more features!

  3. The dealbreaker with this plugin is the cart. Why would anyone need a cart for one post one-off transaction? It is an extra step, which is absolutely unnecessary.

  4. Hi! It’s possible pay for publish post (recurring)?

    1. Hey Anderson, if you need recurring billing, I’d check out WooCommerce Subscriptions + WooCommerce Memberships instead.

  5. Gabriela Sabkova October 3, 2018 at 7:13 am

    I’m looking for a plugin that allows me to create two user groups. The first one offers a service such as babysitting, helping and so on. The second user group is customers who need that service. I would like for the second customers to pay for contacting the first group. I saw that can be done with user role but is it possible for one customer from group two to pay for contacting only one customer, to pay for seeing the rating for only one customer?
    Best regards

    1. Hey Gabriela, I’ve not done something like this, but it sounds like WP Job Manager is a good fit instead (which can work alongside WooCommerce). The Paid listings add-on lets you charge people to list a job, which could be people looking for babysitting or services. I’m not sure if you can charge people to sign up / apply for jobs, but there are several add-ons available to help you extend how listings and applications are managed.

Comments are closed.