Are you looking for Restrict WordPress Pages by User Role? Then you will get detailed information about this in this article. Due to a lot of authors, your business needs to control the posts by restricting the user to access the city in pages on your WordPress website. In this article, you will learn how you can easily Restrict WordPress Pages by User Role.
Restrict WordPress Pages by User Role
By default WordPress allow you to have some restriction on the authors of your website or blog. Even that you can create pages and post which are password encrypted so the user can only access those pages and post when they have the password. For the default version of WordPress, they don’t allow this feature.
Instead, there are some WordPress plugins which allow you to Limit the access of users as you wanted. That you can restrict the user to any post and page or even the group of people to access that specific page by there user role.
By using this plugin you can create any kind of membership website or any kind of group or even that any community. The best part is that you can monetize this website to even highly paid subscription is the best source of income.
Let’s talk about how we can restrict WordPress pages by user role. In the following part of an article, you will get to know about multiple plugins which are used for the same purpose you can select any one of that according to your needs and requirements.
Restrict Content Pro is a one of the best option to restrict your user by user role in your WordPress website by accessing the content.
Even that it will allow you the facility to make subscription-based restriction so that whenever the user wants to access that specific that are they have to subscribe and you can earn money online.
First of all, you have to visit the link by clicking on the title. After that, you have to install and activate restrict content Pro plugin from their official website.
After the activation, you have to visit
Restrict > Settings
Then you have to enter the license key which you will get during the purchase.
If you are wanted to make a subscription-based website then you have to go on payment tab and set up your payment gateway so that you can get money from your user through subscription.
This plugin will allow you to accept money from most popular payment gateways like PayPal, Stripe, Braintree, Authorize.net and 2Chechout.
Selecting the payment gateways you have to add secure credential of your account to set up properly and after that, you have to hit save button.
After all of this, you can easily edit any page or post which you want to restrict by user role.
When you will hit click on edit slightly scroll down to restrict this content after this you are able to select member with certain role option where you can set the user role to restrict them. In the following image, you can observe the whole scenario and get the main idea what to do next.
Selecting the role of user you can simply save the setting and publish or update your content.
Even that restrict content Pro will allow you to create a level-wise subscription.
MemberPress is known as one of the best WordPress membership plugins over the communities.
Even that most underground communities are used MemberPress. It is the best alternative to restrict content Pro, it will also allow you to create membership website based on paid subscription.
First of all, you have to download and install the MemberPress plugin from their official website.
After the activation, you have to activate the memberpress plugin by entering your license key which you will get during the purchasing.
MemberPress > Activate
Then you have to click on add-on tab for installing “WordPress user role”.
Now more want to the following path.
MemberPress > Option
Set up the payment method in the payment tab.
Memberpress allow you to accept money from most popular payment gateways. Such as Stripe and PayPal. After selecting the payment gateway you have to set up an account by giving the credentials.
Now for creating membership plans you have to visit
MemberPress > Memberships
From here you can create new membership by clicking add new button.
You can easily set the price of membership along with a billing type, expiration setting, and the title of the membership plan.
Now move down to “membership options” below the post editor. From here you can easily set up several different options for any specific membership plan.
You can easily restrict WordPress pages by user role from the advanced tab under the membership options by choosing user roles for specific membership plan.
Beware when you are creating user roles and limit icing their access in WordPress because every user which is by default created in WordPress comes with their own permissions. Even that if you are wanted to create a custom user role for your membership website then you can also do that.
Now you can publish your membership plan easily.
If you are looking for multiple membership plans such as the subscription level then you can iterate the above process.
After creating the membership plans now it’s time to set up the rules to restrict the user and their access.
Now move over to
MemberPress > Rules
Now click on “add new” button which is on top. From here you can edit and restrict user according to their plans and subscription.
Such as you can select all the pages and post which is of the specific type and allocate all that content to the specific membership user.
In the last, you have to add it each and every post and page which you want to restrict and let them into the specific category which will be allotted to the memberships.
LearnDash has known as one of the best WordPress LMS plugin. This plugin is used to create and sell tutorial based courses online such as Udemy and Lynda do.
This plugin will allow you the Bedford subscription features which restrict the user to preview the specific content without a subscription. Such as user can’t preview the data of any specific course which is set to be paid without enrolling in that course.
By this feature, you can restrict WordPress pages by user role in the mean of enrollment and monetize your website.
First, you need to download and install LearnDash plugin from their official website.
Upload the plugin to your WordPress then activate that. After the activation within WordPress website, you have to activate the license by visiting the following path.
LearnDash LMS > Setting
Then click on LMS licensed app enter the license key which you will get during the purchasing along with the LearnDash account email address then update the license.
After this we have to set up the payment gateway for that we have to visit Paypal setting and have to enter PayPal email address to receive the money of subscriptions and enrollment.
LearnDash allows only Paypal payment gateway along with 2Checkout, Stripe, and other most popular payment gateways are available as an extension to this plugin.
No for creating your first cause you have to visit
LearnDash LMS > Courses
By clicking on add new button you can add your first course easily such as you are creating a new post.
Enter the title and description of the course, description is the publicly shown on the court so that user can know what the specific course is related about.
After this when you will slightly scroll down the page you will get the option to set the price of the specific course along with the access of the course.
By using LearnDash you are able to create freeware and paid courses even that you will get all the major facility which Udemy and Lynda have.
If you are creating freeware and public courses user still need to get enroll into your courses by creating the account on your WordPress website.
Now you can save the course and publish it on your WordPress website.
After creating the course you have to create the content like quizzes assignments and lessons which may be video, audio and contextual.
As we have mentioned in the above that LearnDash is one of the best WordPress LMS plugin which is used to create and sell courses online while you can restrict the user to access content.
In this article, you have learned the three ways by which you can easily district WordPress pages by user role. If you like this article don’t forget to share it with your friends and must subscribe a YouTube channel for tutorials in Urdu and Hindi.