As one of most popular CMS, WordPress is probably easy way to create a website. WordPress is used by most of the brand companies and many celebrities to manage their web content. Maximum of the users prefer WordPress to create their websites, as it is a free website creation tool and very easy to use platform. Everyone can design their own websites by choosing some attractive themes and making required changes to it. You don’t need to be a developer for making one for yourself. If you feel, it will not be easy for you or will be hectic, you can hire someone to do it for you. WordPress has introduced an amazing feature, through which you can restrict your editors to only modify certain pages in WordPress. This feature to edit only wordpress user specific pages was a much needed one, as sometimes users don’t want their editors to give access to every page of their website. Also if you want to publish a guest blog, then this is the permission you can set for your guest editor. It is no rocket science to set this permission, just a few steps and you’re done.
So if you also want to know how you can do it in WordPress, read the below manual and follow.
Step 1. Change User Role In WordPress:
The first and foremost step to do is to add and activate the WordPress Plugin “Capability Manager Enhanced ” to your WordPress. You can add any capability manager or you can add the one, which WordPress is offering. After activation this capability manager enhanced plugin, go to Users -> Capabilities to edit plugin settings.
Now, you will be able to see an option for Select Role to view/edit. Go to that and select Editor as your choice and click on Load. Now, the plugin will show you all the Editor User function along with the permissions and capabilities of the function.
Now select the capabilities and press save to save the changes made. Now the editors will not be permitted to edit any pages that are not created or published by them.
Now, the next thing you need to do is to assign an administrator user to let your editor to be the author of these pages. Let’s see how this can be done.
Go to the Pages sections as seen in the image and select All Pages. Now you can see a multi-option display where you have to select Edit from the Bulk Actions dropdown and click Apply button to apply these changes.
This will open an edit field for you to change the author of the selected pages. As you are the administrator, you can also assign yourself to some of the pages or all. After assigning the author of the pages, click on Replace to implement those changes. Now press Update.
If you have more than 15-20 pages you would probably need to click on the following buttons to load those pages and select change for all pages in bulk.
Step 2. Allow Editors To Edit Particular Pages
So what we have done so far is to restrict editor form editing any pages of your WordPress site. Now you can permit them to edit some of the particular pages.
So now what needs to be done is just edit those pages which you want to give your editor permission to edit. Now, you will get an option ‘Screen Options’ on the corner of the screen click on it. Now make sure the checkbox before Author is checked.
Now go to Author’s meta field and choose the name of the author to whom you are giving permission to edit that particular page.
To save your adjustments, Click on replace and then save, you’re done.
Let’s suppose you need to set permission to 50 different people for 50 of your WebPages. In this scenario, this process will be little hectic for you. So here’s a very quick method to resolve this for you.
You can go and add this function to your function.php file of your template to allow your user to edit pages that they have created and to manage media. You just need to specify their $user_id (Whatever it is).
You can easily find your user’s $user_id from the URL when you go to edit wordpress user specific pages from your admin page. Now just make some changes and modify the built-in role contributor so that you can allow your editor to be in a contributor role in order to modify those pages which they have created.
You can also use Role Scope for this as it is a very powerful plugin which can help you with these kinds of stuff and it’s very easy to use. You can also try editing the WP table in phpadmin as this can be a quicker way to reach the destination.
WordPress is an amazing tool to play with. You can always try new plugins and certain editing in some of the codes to see what result it brings to your table. It’s always good to keep experimenting in order to learn new things and what the better platform to experiment things than WordPress is.
To set permissions or restrictions wasn’t that difficult, was it? These simple steps would allow you to set restrictions or permissions to your WebPages. Now you don’t need to give full authorization to any of your editor or users to make changes to just a page. You can now give permission to that particular page. Do not get afraid while trying these steps as it will not change any other settings of your WordPress pages or do any kind of harm to your admin page. It will just help you with allowing permissions or setting restrictions. Do not just handover your website to just anyone, when you can limit wordpress user specific pages permissions so easily.