Comments are part of your WordPress blog. When your blog grows, a community of followers grows around your blog. When there are followers, your blog will be receiving a lot of comments.
By default, almost every WordPress theme supports the comment section and the traditional comment editor form shows Name, E-Mail, Website URL, comment text for the user or visitor.
At the same time, once the user submits the comment, he/she won’t be allowed to edit the comment.
Why does a user want to edit or delete the submitted comment?
In most of the cases, your user may want to edit the comment for so many reasons like:
- the user may want to add more information to the earlier comment
- the user may want to correct a mistake in the earlier comment
- the user may want to delete the comment as he/she felt that the comment is no longer required
These are genuine reasons for the user to edit or delete their own comment.
By default, this is not possible with your WordPress blog.
Allowing the user to edit or delete own comments (with a timeout + no login required).
Using the wp ajax edit comments plugin, you can allow the users to edit or delete their comments. Once installed, the user will be seeing a timeout, within that timeout, they can edit or delete their comments. Done.
The catch is that once the timeout period is over they won’t be able to edit or delete the comment. Interesting, you can configure the timeout period. For example, the below screenshot shows that I have configured the plugin to have 10 minutes for a timeout.
- Once the user submits a comment, a timer starts and it will be visible to the user also.
- The recent comment will be allowed to edit or delete within that timeout period.
The following screenshot shows the timer running after comment submission:
- “Click to Edit” allows the user to edit the comment and submit again
- “Request Deletion” allows the admin to know that the user wants to delete the comment (doesn’t want it to be published)
Apart from this timeout option, this plugin has numerous other features.
It allows to individually control, what information the user shall edit:
- edit the Name
- edit the Email Id
- edit the site URL
- allow requesting deletion
You can also setup different options for each user: logged-in user, anonymous user etc.
The following screenshot shows the various editing options that you can configure using this plugin:
Apart from comment edit/deletion options, the following are few major features to know:
- add nofollow to user comments
- disable/enable trackbacks in the comment section
- enable spellchecker for comment text
Further, you can give permissions to who can edit the comment?
With these options, you can allow edit/delete permissions based on the user role.
This plugin supports controlling based on the following user roles:
- Registered user – one who registered with the Email id to your blog
- Anonymous user – anyone who comments on your blog (without registration or logging-in)
- Editors – those who have rights to publish blog posts
- Admin user – that’s you
You can take a look at the below screenshot:
I tried few other plugins and I found that wp ajax edit comments is one of the best plugin available in the WordPress plugin directory. You get a lot of options to customize the way, you allow your visitors to edit or delete their own comments.
Looks there is a pro-version of this plugin also, however, I was not interested much in it.
In fact, the free version is well enough to allow your visitors to edit or delete their comments + you can also take more control on who can all edit/delete the comments.
Let me know, how this article helped you and also, how else you manage comments on your WordPress blog.