CM Pay Per Post (CMPPP) - How To - Restrict Sections Of The Content (Shortcode)
What is This Feature
Version 2.1.3 introduced a shortcode to restrict sections of the content.
If the user is not a subscriber, he/she will see a "Restricted Section" box instead of the locked content. A paybox will be triggered at the end of the content.
How to Use the Shortcode
Locking the content is easy. Simply surround it with the shortcode, as shown:
You can use the shortcode many times in the same content. The following is an example of the Back-End:
And the resulting Front-End:
Customizing the Text
You can customize the text of the restricted section box:
To do so, navigate to the Admin Dashboard → CM Pay Per Posts Pro → Settings.
Then click on the Labels tab.
There are two relevant labels:
- restricted_shortcode_heading - default is "Restricted Section"
- restricted_shortcode_content - default is "Only subscribed user would be able to view this content."