WordPress Pay Per Post Plugin (CMPPP) - How To - Restrict Content From Other Plugins (Custom Post Types)


Restricting Custom Post Types

Back to User Guide

In the WordPress Pay Per Post plugin, you can restrict any post type, even the ones managed by other plugins. This means that you can restrict content from other plugins if it uses said post types.

We Can't Guarantee Compatibility

Note that is a general rule. We cannot guarantee compatibility with all third-party plugins, as that involves code we don't control.

The technical requirements are:

  • Plugin must register post_types - To show the post type in Pay Per Post's settings.
  • Plugin's custom type must be editable from the Back-End - To enable the subscription metabox.
  • Plugin must use the "the_content" filter on the Front-End - Only this content will be restricted.

Choosing Post Types to Restrict

Head to WP-Admin â†’ CM Pay Per Post → Settings page under the General tab → Post types section.

Choose which post types to support. 

This list fetches all post_types. If you can't find one related to a plugin, it means the plugin doesn't register its content as post_types.

Choosing post types supported for restriction - Pay-Per-Post Plugin
Choosing post types supported for restriction

Restricting Content

Now edit the content from that post type and you will see the metabox from the WordPress Pay Per Post plugin.

Assigning post to a pricing group - WordPress Paywall Plugin
Assigning post to a pricing group

Learn more: How To - Assign a Post to a Price/Subscription (Video)


Examples

1. Questions and Answers Plugin + MicroPayments Plugin

Users have to login and pay virtual points to have access to a forum question created with Questions and Answers plugin

2. Tooltip Glossary Plugin + EDD

Users have to pay to access the whole term page of a term managed by the Tooltip Glossary plugin.

Term Page is Restricted

Restricting a glossary term - Paywall Plugin WordPress
Restricting a glossary term

Tooltip and Index Page are not Restricted

Note that both the term's tooltip and index page placement are not affected. 

Tooltip still shows content:

Tooltip is not restricted - Best Paywall Plugin for WordPress
Tooltip is not restricted

Term in index page still shows content:

Term is not restricted in the index page - WordPress Plugin Paywall
Term is not restricted in the index page

More information about the WordPress Pay Per Post Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.