Table of Contents
Restricting content based on membership level is an integral part of Paid Member Subscriptions.
There are two ways of protecting your posts, pages, and custom post types: directly from each individual post or page or using the [pms-restrict] shortcode.
Considering that PMS creates the user account even if the payment was not successful (we do this so that users can login and retry the payment), you should always restrict your paid content by checking the right Subscription Plans checkboxes and not rely only on the Logged in status of your users.
This option will show the user a custom message instead of the restricted content that he was trying to access.
If you check only Logged in Users in the Display For area the content will be visible to anyone who is logged in. To restrict the content based on a subscription plan as well, you will need to check the boxes corresponding to the Subscription Plan.
In the screenshot above the restriction is applied to show this post only to users who are subscribed to the Gold or Silver plan.
The message that the user will see if he cannot access the content can be found by going to Paid Member Subscriptions -> Settings -> Content Restriction.
If you check the Enable Custom Messages checkbox you will be able to modify these messages and make them specific to the post that you just restricted.
This option will allow you to define a page that users should be redirected to if they don’t have access to the content they were trying to access.
Based on the settings shown in the screenshot above, only users who are subscribed to the Gold or Silver plan will be able to see this page, the rest will be redirected.
The Redirect URL can be changed by going to Paid Member Subscriptions -> Settings -> Content Restriction.
You can also add a Custom Redirect URL which is only applied to the post that is currently being edited by checking the Enable Custom Redirect URL checkbox. If you want logged-in users with no Subscription Plan or those whose Subscription Plan has expired to be redirected to a different URL when accessing the post, you can do so by specifying it in the Custom Non-Member Redirect URL field. If the field is empty, all users will be redirected to the same URL.
By selecting this option if the post is restricted the default template of the post will be changed with the one selected in the “Restriction Template” section dropdown.
This option will take the content restriction settings configured in Paid Member Subscriptions -> Settings -> Content Restriction and apply them to the post. This is also the default selected option.
https://www.cozmoslabs.com/docs/paid-member-subscriptions/shortcodes/#Restrict_Content
By selecting this option if the post is restricted the default template of the post will be changed with the one selected in the “Restriction Template” section dropdown.
Paid Member Subscriptions gives you the option to restrict comments. You can restrict the user from viewing and replying to comments or you can let the user view comments but deny him replying.
To activate this functionality, you need to go to the Paid Member Subscriptions -> Settings -> Content Restriction page.
This option works only for the Message type of restriction. Instead of hiding all the content, it gives you the ability to show a part of it to your users.
You can either use the option to Show the first X words of the post’s content or you can choose to Show the content before the “more” tag.
The content will be truncated at the number of words that you specified or just before the more tag, depending on the option selected. After the truncated content, the content restriction message will be shown as well.
If you’re using a paid version of Paid Member Subscriptions you have access to the Global Content Restriction add-on. This is the best way to restrict your content as you can target custom post types and taxonomies directly.
You can simply create a category `Premium Content` in which you add the posts you want to be restricted, target this category with our add-on, and never worry about applying the restrictions to each post one by one.
You can read more information by going to the documentation page for it.
Paid Member Subscriptions is also capable of restricting bbPress forums. For this functionality to work, you need to have installed the bbPress add-on.
The bbPress add-on is available with a Basic or Pro license for Paid Member Subscriptions.
More info about this functionality can be read here.
https://www.cozmoslabs.com/docs/paid-member-subscriptions/integration-with-other-plugins/elementor/
This functionality is described in this section of the Documentation.
This functionality is described in this section of the Documentation.
Combine the power of Profile Builder with Paid Member Subscriptions to set up user registration, memberships, and recurring revenue.
Get 25% off with the bundle