Do you want to let contributors edit their WordPress posts after being approved?
By default, contributors and guest bloggers can’t edit their published posts. This can cause problems if contributors need to quickly edit a typo, fix wrong information, or update a post to keep it relevant and helpful.
In this article, we will show you how to let contributors edit their posts after being approved.
Why Let Contributors Edit Their Posts After Being Approved?
If you run a multi-author WordPress blog, then people with the contributor role can write posts and submit them for review. Anyone with the administrator or editor user role can then review these posts and publish them.
Once a post is live, the contributor cannot edit it. This can cause problems if contributors need to rewrite their posts to keep them up to date or fix errors.
By allowing trusted contributors to edit their posts, you can improve the editorial workflow and save your editors a ton of time.
With that being said, let’s see how you can allow contributors to edit their published posts. Simply use the quick links below to jump straight to the method you want to use:
Method 1: Using WPCode (Quick and Easy)
The easiest way to allow contributors to edit their published posts is by adding custom code in WordPress.
Often, you will find guides with instructions to edit your site’s functions.php file. However, small typos or mistakes in the code can cause many common WordPress errors or even break your site completely.
You will also lose the custom code when you next update your WordPress theme.
With that being said, we recommend using WPCode. It’s the best code snippets plugin and allows you to add code to WordPress without putting your site at risk.
First, you will need to install and activate the free WPCode plugin. For more information, see our step-by-step guide on how to install a WordPress plugin.
Once the plugin is activated, go to Code Snippets » Add Snippet.
Here, you will see all the pre-made snippets you can add to your site. This includes a snippet that allows you to completely disable comments, upload file types that WordPress doesn’t usually support, disable attachment pages, and much more.
On the next screen, you need to hover your mouse over the ‘Add Your Custom Code (New Snippet)’ option and click the ‘Use snippet’ button when it appears.
On the next screen, type in a title for the code snippet. This is just for your reference, so you can use anything you want.
Then, open the ‘Code Type’ dropdown and choose ‘PHP Snippet.’
With that done, simply paste the following into the code editor:
// 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' );
After that, you must scroll down the page to the ‘Insertion’ section.
If isn’t already selected, then simply click on ‘Auto Insert’ and then select ‘Run Everywhere’ in the dropdown menu.
Finally, scroll to the top of the screen and click on the ‘Inactive’ slider so that it shows ‘Active.’
Then just click the ‘Save Snippet’ or ‘Update’ button to make the code snippet live.
Now, anyone with the contributor role will be able to edit their published posts on your WordPress website.
Method 2: Using PublishPress Capabilities (Edit All User Roles and Capabilities)
Do you want to give contributors other capabilities too? For example, you may want to allow contributors to edit and delete their published posts.
You may even want to add or remove capabilities from other users.
If you want complete control over user permissions, then we recommend using PublishPress Capabilities. This plugin allows you to add and remove capabilities from any use role, including WordPress contributors.
The first thing you need to do is install and activate the PublishPress Capabilities plugin. For more details, see our step-by-step guide on how to install a plugin in WordPress.
Upon activation, you need to visit Capabilities » Capabilities in the WordPress admin area. At the top of the screen, open the ‘Capabilities’ dropdown and choose ‘Contributor.’
You can now select the ‘Editing’ tab.
Here, you can see that the contributor doesn’t have permission to edit published pages and posts on your WordPress blog.
To grant them permission, select the ‘Posts’ or ‘Pages’ checkboxes, depending on the published content they need to edit.
You can now add or remove more capabilities by following the same process described above. When you’re happy with how the contributor role is set up, click the ‘Save Changes’ button.
Now, you can switch between user accounts and check that contributors have the option to edit their published posts.
If you want to remove this permission at any point, then simply repeat the above steps. However, this time uncheck the ‘Edit published’ boxes.
You can also edit other roles using the PublishPress Capabilities plugin. Simply repeat the steps described above, but this time select a new user role from the ‘User Capabilities’ dropdown menu.
We hope this article helped you learn how to let contributors edit their posts after being approved. You may also want to see our guide on how to make money online blogging with WordPress or see our expert picks for the best contact form plugins for WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Have a question or suggestion? Please leave a comment to start the discussion.