Sale!

EDD Content Restriction 2.2.6 – Easy Digital Downloads

$49.00 $6.99

Demo / Details
Want a discount? Become a member by purchasing Quarterly Plan!

Description

EDD Content Restriction

Version  2.2.6
License GPL
Developer Easy Digital Downloads
Released 09/08/2017

EDD Content Restriction for Easy Digital Downloads allows you to easily restrict content on your site to only those users who have purchased your products. In just seconds, you can limit the content of any post, page, custom post type, and even bbPress forums and topics to confirmed buyers of any product. If a user has not purchased the required product, they will be unable to view restricted content and will be shown a message instead, telling them they must purchase the product.

The EDD Content Restriction add-on for Easy Digital Downloads is very easy to use and adds a new section to the edit screen of your posts pages, custom post types, and bbPress forums / topics called Content Restriction.This section allows you to specify the products that customers need to have purchased in order to access the content.

Once activated, all posts, pages, forums, topics, and other public custom post types will have a section added to the edit screen that allows you to select the product, or products, that the customer needs to have purchased in order to access the content.

Along with restricting the entire content of posts or pages, you can also restrict partial content areas with the [edd_restrict] short code.

Note: in order to access restricted content, customers must create accounts on your site during purchase.

Content Restriction uses an OR condition for the products, so if you select Product X and Product Y, the content will be access to customers that have purchased Product X or whom have purchased Product Y.

You can also restrict content to verified customers of any product in your store by selecting the Any option.

Also included in the plugin is a short code that will allow you to restrict portions of content. For example, to restrict a paragraph to only buyers of a specific download, you can do this:

[edd_restrict id="#"]This content is restricted.[/edd_restrict]

The # is replaced with the ID number of the Download product.

The short code accepts three parameters:

  • id – This is a comma separated list of download ID numbers
  • price_id – This is the ID number of the price you want to restrict content to
  • message – This is the text shown to non-buyers

If you want to restrict content to buyers of multiple downloads, you can use the short code like this, which will result in the content being restricted to download ID 23 and 254:

[edd_restrict id="23,254"]This content is restricted.[/edd_restrict]

If you would like to restrict a download to a particular price ID, then use:

[edd_restrict id="23" price_id="2"]This content is restricted.[/edd_restrict]

Note: to find the price ID, go to your download and count down from the top of your price options. The first price option is ID=0, the second is ID=1, and so on.

Displaying Accessible Restricted Pages After Purchase

When you have posts, pages, or custom post types restricted to products, a list of these pages will be automatically displayed on the purchase confirmation page in order to make it nice and simple for your customers to find the content they have just purchased access you.

You can also add the {page_list} template tag to the email purchase receipt in order to show the list in the emailed receipt.

You can also place the [edd_restricted_pages] short code on any page in order to display a list of the posts and pages the customer has access to.

 

Product Enquiry