Would you like restrict publisher access to certain pages ? By default, a user with Editor permissions can edit any page or post. However, sometimes you will want to restrict its power and only give it access to certain pages.
In this tutorial, we'll show you how to limit editors so that they can only edit a specific number of pages.
If you have never installed WordPress, discover How to Install a WordPress Blog in 7 Steps et How to search, install and activate a WordPress theme on your blog
But back to why we are here.
Why prevent publishers from editing all pages?
WordPress comes with robust features and a system flexible enough management of authorizations. It allows you to add users by assigning them different user roles, and assigning to these roles different permissions.
Among one of these user roles we find the role " Publisher ". Users with the user role " Publisher Can edit all the articles and pages on your website.
Many WordPress websites are structured in a way where editors are generally responsible for the content of blog posts and posts. Pages are generally static pages that do not change often and are used to display information such as la politique de confidentialité, the contact form and more.
If you don't want editors to be able to edit pages, or to only edit specific pages, you will need to change the user role " Publisher On your website.
That said, let's see how to allow WordPress editors to edit only certain pages.
1. How to change the user role "Editor" on WordPress
The first thing to do is to install and activate the plugin « Capability Manager Enhanced ». For more details, see our step-by-step guide on how to install a WordPress plugin.
After activating the plugin, you must visit the page " Users> Capabilities To configure the plugin settings.
Then you have to select the user role Publisher " in the zone " Select role to view / Edit»And click on the button« Load " to continue.
The plugin will load the user role " Publisher And view all permissions and permissions for the role.
Above you will notice editing and deleting capabilities for posts and pages.
You must uncheck the option " Edit others " and " Delete others For the pages. Unchecking these options will prevent editors from editing or deleting pages created by other users.
Do not forget to click on the button « Save Changes At the bottom to save your changes.
Now publishers will not be able to edit a page published by other users.
We suggest you to discover How to duplicate (copy) your pages on WordPress
To ensure that editors are not able to edit pages, you must assign an administrator user as the author of those pages.
You can do this by going to " Pages> All Pages And clicking on the checkbox to select all pages. After that, you must select " Edit In the drop-down menu bulk actions », Then click on the button« Apply ».
This will load an edit box where you can edit the author of all selected pages. As an administrator, you can assign yourself as the author of all pages or another user with an administrator role.
Don't forget to click on the update button to save your changes.
If you have more than 20 pages, you may need to click the following button to load the following 20 pages and repeat the authoring process.
Step 2. Allow editors to edit specific pages
So far, you have prevented editors from editing pages on your WordPress website. If you want, you can still allow editors to edit specific pages.
Just edit the page where you want the editor to be able to make changes. Then click on the " Screen options At the top right of the screen and make sure the checkbox next to the option " Author Is checked.
Now scroll to the author's checkbox and select the user you want to assign the page editing to.
Don't forget to save your changes.
Discover also some premium WordPress plugins
You can use other WordPress plugins to give a modern appearance and to optimize the handling of your blog or website.
We offer you here some premium WordPress plugins that will help you do that.
1. Ultimate Form Builder
Ultimate Form Builder is a WordPress Plugin premium which allows you to create unlimited responsive forms. It has a drag'n'drop form builder that can create any type of form (contact, survey, offer, information, etc).
This plugin is easy to use. You can create, customize and design beautiful forms, apply already existing form templates for design and use them on your website in no time.
Also read our guide on How to create an anonymous blog with WordPress
You will also be able to receive form data via e-mail and store it in the database; which can be exported in CSV format for use via the dashboard of your website. All forms designed by this plugin are super secure thanks to an efficient Captcha system.
2. Video Contest
With WordPress Plugin premium Video Contest, quickly and easily create a comprehensive video contest, either on your own website or as a standalone website. It is part of the same family as the WordPress Photo Constest plugin, just that it specializes in video.
Even if it has almost the same functionalities as the previous one, it stands out on the fact that for the moment it only supports two languages including English and Czech. But nothing surprising that in a future iteration that we find support for many other languages. In the meantime, do not hesitate to consult its demo.
3. YIT Testimonials Showcase for WordPress
YIT Testimonials Showcase is the best-made and most up-to-date premium WordPress plugin for viewing user testimonials and reviews. It comes with 150 unique styles that are fully coded in HTML5 and simply customizable.
All you have to do is create the shortcode of the element to display, selecting the options you want, choosing a WordPress theme and select one of the predefined color schemes, and voila.
Read also : 5 WordPress plugins to create subscription forms
This WordPress plugin is great for viewing and managing your testimonials as a responsive grid or as a dynamic slider.
Find out about other recommended resources to help you build and manage your website.
- How to easily create a Quiz in WordPress
- How to restrict WordPress media access to certain users
- How to add a navigation menu to a WordPress page
- How to use snippets and the "More" tag in WordPress
Here is ! That's all for this tutorial, I hope it will allow you to restrict the modification of some pages on WordPress. If you liked it, don't hesitate to share with your friends on your favorite social networks.
But, in the meantime, tell us about your Comments and suggestions in the dedicated section.