How to Setup WordPress Comments

Hi! Today we will provide you with detailed information on how to manage your comments per post or page, how to moderate and secure them, how to use external comment service and more.

What are Comments?

Comments are essential part of almost every WordPress website. Comments allow your website visitors to communicate with you and other readers. On a specific article that you had written, the visitors can add their input such as ask questions, and provide feedback.

Depending on your site’s settings, comments display slightly differently from site to site. On most WordPress sites, anyone with a valid Name and Email can leave a comment without verifying their identity. By default comments are turned on so depending on the theme you use, there will be a comment form displayed at the bottom of every post and page of your website.

comment giao diện

“Leave a Comment” screen by default theme

You can see all comments on your WordPress website by clicking on the comments menu in WordPress.

Comments Moderation

By defaults, all comments on a WordPress website are displayed on the Comments page in your Dashboard. Once someone submits a comment, it will be held for moderation for you to approve or delete. This allows you to control what appears on your website.

The comments screen in WordPress

Moving your mouse over to a comment will display the action links for it. Comments awaiting approval are highlighted with a light yellow background.
You can’t only switch view to see Pending, Approved, Spam and Trash views, but also  remove the comments to these tabs by click as below:

comment spam

The comment trash view has comments that deleted by you and remain there for 30 days. Any comment in trash can be restored by clicking on ‘Restore’. After 30 days, WordPress deletes them permanently.

comment trash

Discussion Comments

WordPress comments system comes with many default options which you can configure from Settings » Discussion page. It contains a list of options that change how WordPress processes comments. Experimenting with these settings can help you find a balance between restricting comments to reduce the amount of spam or less-relevant comments you receive and encouraging your users to actively participate on your site.

comment settings

The first section of these options is for default article settings. These settings apply to all your posts, pages, attachments and custom post types.

Example: It is not necessary for every WordPress website to have comments enabled. In fact you can disable them by unchecking “Allow people to post comments on new articles” option. Disabling comments will not delete older comments already published on your website. It will just stop accepting new comments. You can re-enable them any time you want too.

Depending on your needs, You can moderate all comments by enable/disable options to change Comment notifications, Comment Rules, Comment Display, Comment Spam… in next sections

Allow Only Registered Users to Comment

It is also possible to open comments only to registered users on a website. To do that first you need to open your WordPress site for registration. Go to Settings » General and check the box next to “Any one can register”. If you don’t want new users to write posts on your site then make sure that you have Subscriber as the New user default role before you save changes.

comment email1

Setting >> General

After opening your website for registration go back to Settings » Discussion screen. Under ‘Other comment settings’ section check the box next to “Users must be registered and logged in to comment”

comment email2

Setting >> Discussion

Enable/ Disable Comments on a Single Post in WordPress

You can override the default comments settings for articles by enabling or disabling comments on a single post, page, or custom post type. For example, your Contact Us page with a simple mail form on it shouldn’t have comments under it. In such cases, you can disable the comments for a particular post or page.

  • Opening the post/page itself , in the post edit area for the article click on Screen Options and then check the Discussion tab.

comment post

  • Scrolling down until you reach the Discussion metabox.
  • In it, uncheck the Allow comments and Allow trackbacks and pingbacks to display them from showing on this particular post or page.

comment post2

You can also view all approved and pending comments for a post by checking Comments tab on Screen Options, scroll down to the bottom, and you will see all comments made for the post. You can edit, delete, reply and moderate comments directly from here.

comment post3

In this tutorial, we hope that you could know how to manage your comments per post or page, how to moderate and secure them and how to use external comment service.
You may also want to check out our guide on how to create navigation menus in WordPress in next step or other instructions in this series
See you again in next step!

Leave a Reply

Your email address will not be published. Required fields are marked *