Methods to let Contributors Edit the WordPress Comments
In a WordPress website, the contributors or the guest authors are the ones who are having the user roles to write posts and they send them for review on WordPress. Here the user with the administration user role will be able to review as well as publish it. Once it has been published the contributors will not be having the right to edit their own posts.
In a WordPress hosting service however you will have the right to add or remove the user roles. There are two different methods of allowing the contributors to edit the posts:
This is one of the easiest methods and is recommended to most of the users. This method allows the user to edit the other user roles as well as the permissions right away. Here the first thing that will be required is to install as well as activate the capability manager enhanced plugin. On activation, you will be required to visit the Users >> Capabilities in the WordPress admin area for editing the capabilities of contributor user role.
Here on this page, you will be required to select Contributor role on the right side, here you will be able to change the permission level when you opt for a Wordpress
After selecting it you will be able to see a lot of options in this section. Here in the editing capabilities area, you will be required to select edit published option and then you need to scroll to the bottom for clicking on to save changes.
After completing the last step you will be able to test the permissions by switching on the contributor role in the WordPress and then going to the Posts page. You will now be able to see the option for editing published posts.
Method 2: Manually Allowing the Contributors for editing their posts
In this type of method, you will be required to add the code to the WordPress files. If you have never performed this step before then you can check the procedure as shown below:
// get the "contributor" role object
$obj_existing_role = get_role( 'contributor' );
// add the "Edit published posts" capability
$obj_existing_role->add_cap( 'edit_published_posts' );
One needs to remember that this code snippet needs to run only once which would mean that you can save it as well delete it. This will allow the contributors to edit the published posts in the WordPress. Here as we have shown on how to allow the contributors for editing the published posts, it is believed that it is not a good practice of allowing the contributors or the authors to edit the published content.
If there is any need for any change or the correction that needs to be made by the writer then they should ask the administrator or the editor to update it. This will allow the best practice for a website.
Before publishing the post the editor should check the necessary elements like keywords, images, meta description and more. These are the things that are very important for a better ranking in the search results. In case of a user, they might not be knowing the editorial best practices to be followed.
One of the best ways to deal with it is by sharing the blog post checklist with the contributors as well as authors. This type of checklist will allow the user to covering all the tasks before submitting the post for reviewing. This will also help the editor in quickly reviewing the post.