WordPress Pay Per Post Plugin (CMPPP) - Troubleshooting - Elementor Page Builder, Other Themes
Elementor Page and Other Themes Troubleshooting
Quick Read
The WordPress Pay Per Post plugin will not work or will require special settings when used together with themes that don't implement the "the_content" hook/filter. They are a minority.
So far, this has been reported in the Elementor Page Builder and some other themes.
Elementor Fix
To block a page that uses the Elementor page builder, it's necessary to both:
- Assign the post to a price (see How To - Assign a Post to a Price/Subscription (Video).
- Use the [cmppp_restricted] shortcode to block the relevant part of the content. Learn more: How To - Restrict Sections Of The Content (Shortcode)
Doing only one of the procedures will cause problems such as triggering the The Content Area Was Not Found in Your Page error. Learn more: The Content Area Was Not Found in Your Page - Docs | Elementor
Other Themes Fix
It's necessary to place the "the_content" hook/filter in the theme templates.
This is an advanced procedure that should be handled preferably by your theme designer.
Adding the_content Snippet
<?php
the_content();
?>
Resources:
- How To Add Filters | Plugin Developer Handbook
- the_content() | Function | WordPress Developer Resources
- General Support - Advanced - Creating and Editing Custom Templates - CreativeMinds
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 |