Do you need to prohibit sure pages in your web site by person function?
Many WordPress companies want to manage which customers can entry sure pages on their web sites.
On this article, we’ll present you the way to simply prohibit entry to sure WordPress pages by person function.

Why Prohibit WordPress Pages by Person Position?
While you begin a WordPress web site, you may need to prohibit sure areas and pages based mostly on person function. As an example, if in case you have a multi-author web site, then you may restrict entry to particular pages for writers and editors.
Limiting pages based mostly on person roles is a standard use case for membership websites. You’ll be able to restrict pages in your web site based mostly on the person’s membership stage. For instance, solely subscribers can view the video web page or the web course web page.
By default, WordPress comes with a restricted set of instruments to limit content material in your web site. You’ll be able to create personal and password-protected posts, however these options don’t let you restrict entry by person function.
Fortunately, there are a number of WordPress plugins that let you do exactly that. You’ll be able to select certainly one of them to limit pages to sure customers, person teams, or person roles.
Utilizing these plugins, you may create a membership web site, pay-per-view web sites, and even household blogs. You can even monetize your content material by including paid subscriptions.
That being mentioned, let’s check out the way to correctly prohibit WordPress pages by person function. We can be displaying you completely different plugins, you may select the one which most closely fits your wants.
1. Prohibit Pages by Membership utilizing MemberPress
MemberPress is without doubt one of the finest WordPress membership plugins available in the market. It means that you can simply create membership web sites with paid subscriptions. You’ll be able to arrange content material restrictions and solely enable particular person roles to entry it.
MemberPress is a premium plugin, and also you’ll want to enroll in an account. Merely go to the web site and click on the ‘Get MemberPress for WordPress’ button.


Subsequent, you have to to put in and activate the MemberPress plugin. For extra particulars, see our step-by-step information on the way to set up a WordPress plugin.
Upon activation, head over to the MemberPress » Settings web page to enter your license key. Yow will discover the important thing in your account space on the MemberPress web site.


Subsequent, it’s good to head over to the ‘Funds’ tab to arrange funds.
Merely click on the ‘+ Add Cost Technique’ choice to get began.


MemberPress helps PayPal (Normal, Specific, and Professional), Stripe, Authorize.internet, and extra out of the field. You’ll be able to choose the cost strategies you need to use and supply the required credentials.
Subsequent, it’s good to go to the MemberPress » Memberships web page from the WordPress dashboard and click on on the ‘Add New’ button to create a membership plan.


You’ll begin by offering a title for this membership plan and setting pricing, billing kind, and expiration settings.
After that, scroll right down to the ‘Membership Choices’ meta field beneath the publish editor. That is the place you may arrange completely different choices for this specific membership plan.
Go forward and click on on the ‘Superior’ tab underneath membership choices and click on the ‘Person Roles for this Membership’ checkbox.


After that, you may merely select a person function from the given listing.
Watch out when selecting a person function as every person function in WordPress comes with its personal permissions. When you want, you can even create a customized person function for the membership plans in your web site.
Now you can publish your membership plan.
If you wish to add extra membership plans, then you may repeat the method so as to add them.
After getting created a membership plan, it’s time to arrange guidelines to limit entry to the content material.
Head over to the MemberPress » Guidelines web page from the WordPress dashboard and click on on the ‘Add New’ button on the high.


This may convey you to the foundations edit web page the place you may choose completely different circumstances and select which pages to limit.
You’ll be able to click on the dropdown menu underneath ‘Shield Content material’ and select a rule.


For instance, you may choose all content material that matches a selected tag or class to be accessible solely to members with a membership plan you created earlier. Or you may choose a single web page to limit entry.
When you’re selecting a class or tag to dam entry, you then’ll want to make sure that the content material is added to that individual class or tag.
You’ll be able to see our information on the way to add classes and tags in WordPress.
That’s all, you’ve got efficiently restricted pages in WordPress by person function and membership utilizing MemberPress.
2. Restrict Web page Entry by Person Position utilizing Prohibit Content material Professional
Prohibit Content material Professional is a good possibility to manage who has entry to your web site content material. It additionally means that you can add paid subscriptions and generate profits on-line out of your membership web site.
To start out, you’ll want to go to the Restricted Content material Professional web site and click on the ‘Get Began’ button.


Subsequent, you’ll want to enroll in an account.
To arrange web page restrictions based mostly on person roles, you should utilize the free plan. Merely click on the ‘Get Began’ button underneath the Free plan.


After that, a popup window will open.
You’ll be able to enter an e-mail handle and click on the ‘Get Your Free Plugin’ button.


Subsequent, you’ll obtain an e-mail from Prohibit Content material Professional with the obtain hyperlink for the free plugin.
Go forward and obtain the plugin onto your laptop.
From right here, you have to to put in and activate the Prohibit Content material Professional free plugin. For extra particulars, see our step-by-step information on the way to set up a WordPress plugin.
Upon activation, you may go to the Prohibit » Settings web page out of your WordPress dashboard and go to the ‘Normal’ tab.


Right here, you may edit completely different pages that the plugin will robotically arrange to your web site.
Subsequent, you’ll have to scroll right down to the ‘Restricted Content material Message’ part and add textual content that customers will see in the event that they’re unauthorized to view a web page.


After that, it’s good to change to the ‘Funds’ tab to pick a cost gateway.
Prohibit Content material Professional means that you can settle for funds via PayPal, Stripe, Braintree, and Authorize.internet.


After choosing a cost methodology, it is possible for you to so as to add credentials for every Cost methodology.
Don’t neglect to avoid wasting your settings while you’re accomplished.
Now it’s good to edit the pages or posts you need to be restricted by person roles.
When you’re within the WordPress content material editor, merely scroll right down to the ‘Prohibit this content material’ meta field.


From right here, click on the dropdown menu underneath the Member entry part and choose the ‘Members with a sure function’ possibility.
Subsequent, you may select the person function you need to enable to view the web page.


While you’re accomplished, merely replace or publish your content material.
Prohibit Content material Professional additionally means that you can create subscription ranges. For extra detailed directions, see our information on the way to prohibit content material to registered customers in WordPress.
3. Block Entry to Course Pages utilizing LearnDash
LearnDash is the perfect WordPress LMS plugin. It means that you can create and promote programs on-line. You need to use its drag-and-drop course builder to create classes, quizzes, and extra.
It comes with built-in subscriptions permitting customers to enroll right into a course earlier than they’ll see its contents. This lets you prohibit entry to course pages and monetize your web site.
First, you’ll want to go to the LearnDash web site and join an account.


Subsequent, it’s good to set up and activate the LearnDash plugin. For extra particulars, see our step-by-step information on the way to set up a WordPress plugin.
Upon activation, it’s good to go to the LearnDash LMS » Settings web page from the WordPress dashboard.
Subsequent, it’s good to change to the ‘Funds’ tab and choose you’re most popular cost gateway.


Now you may go to the LearnDash LMS » Programs web page out of your WordPress admin panel.
From right here, click on on the ‘Add New’ button so as to add your first course.


Enter a title and outline to your course.
The outline half can be seen to all customers to clarify what this course is about.


After that, it’s good to change to the ‘Settings ‘tab within the course builder.
From right here, merely scroll to the ‘Entry Mode’ part. The plugin means that you can create open (public), free, purchase now, recurring, and closed course sorts.
If you choose the ‘Purchase now’ possibility, you then’ll have to enter a course worth. Solely customers that subscribe will be capable of entry your course pages.


Without cost programs, your customers will nonetheless have to enroll within the course by creating an account.
Now you can save or publish your course and preview it in your web site.
Now that you’ve got created a course, it’s nonetheless empty. To fill it up you have to so as to add the course contents like classes, quizzes, and assignments.
LearnDash is a strong instrument to promote on-line programs whereas proscribing entry to content material. It really works rather well with MemberPress to create subscription plans that robotically give customers entry to completely different programs.
That’s all for now. We hope this text helped you discover ways to simply prohibit WordPress pages by person function. You may additionally need to see our final step-by-step WordPress safety information for freshmen and should have WordPress plugins for enterprise web sites.
When you preferred this text, then please subscribe to our YouTube Channel for WordPress video tutorials. You can even discover us on Twitter and Facebook.
Leave a comment