How to edit comments directly from the homepage

Tutorials 0 lượt xem

[WordPress Trick] How to Edit Comments Directly from Homepage – When you read some comments on your site, you notice some are incorrect or incorrect and you want to direct Edit comments right at the post that is commented on or allow users to edit comments for a certain period of time when the comment is wrong, so what to do? Comment editing in WordPress is only allowed by the admin and it can be edited in the WordPress admin area so how about integrating comment editing off the homepage?

In the previous article about WordPress tricks, I showed you how to  display related posts on a simple basis so that you can customize related articles to your liking in a professional way in WordPress. In this article, I will show you how to edit comments directly from the simple homepage.

Edit comments directly from the homepage

To edit comments directly from the homepage you can use the  WP Ajax Edit Comments Plugin, which allows readers and admins to edit comments on the spot using Ajax. Users can limit editing comments while admin can edit all comments on the external page. Let’s learn how to edit comments directly from the homepage.

Like any other Plugin you first need to install the Plugin and activate it to use (refer to the article on how to install the WordPress Plugin with very simple methods) .

Chinh-suabin-luan-tu-trang-chu 1

After installing and activating it, you will see an “AEC” Menu with 4 main properties.

Chinh-suabin-luan-tu-trang-chu-2 1

Plugin Configuration

Behavior property: Helps you customize the user’s behavior when commenting in this section. You just need to pay attention to the “Set comment time” item, the time that allows users to edit comments (default is 5 minutes) . Along with that is the ad feature in comments, this is a pretty cool feature, with this feature you can insert ads like articles or ads on a certain topic (can use HTML code) .

Chinh-suabin-luan-tu-trang-chu-3 1

The rest you leave as default or you can limit user permissions by allowing or disallowing.

Property “Appearance”: Allows you to configure the display of time profiles, comment editing window, and other display options.

Attribute “Permissions”: Assign permissions to readers, admin allows or does not allow editing comments on the Web page.

Attribute “Cleanup”: When you change the content of a previous comment, by default the previous comments will have a record with this option you can clean the database when the comment is changed.

Once done, go to the homepage and choose an article to try to comment. Now you can edit the comment within the time allowed with other operations.

Chinh-suabin-luan-tu-trang-chu-1 1

Finally, if you find the article useful, please subscribe to my blog regularly to update the latest articles via Email – Thank you!

Bài viết liên quan