Comments in WordPress
Anatomy of a Comment
Once a visitor submits his or her comment, WordPress follows your preferences and either holds the comment for your approval or posts it immediately.
Before you enable comments on posts or Page, reviewing the options under Settings > Discussion can help make your life as a moderator easier. Settings > Discussion 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.
- Attempt to notify any blogs linked to from the article: This option will enable your site to automatically notify the sites you linked to that you have linked to them. They can then choose to tell their users that another site linked to them through a trackback or pingback.
- Allow link notifications from other blogs (pingbacks and trackbacks.): This is similar to the previous option, only your position is reversed. Instead of allowing your site to notify other sites, you are allowing other sites to notify your site. If you enable this option, pingbacks and trackbacks are managed in a similar way to comments.
- Allow people to post comments on new articles: This will turn comments on for all future articles. The easiest way to prevent comment spam is to not allow any comments. If you don’t need comments, you can disable them by default by unchecking this option.
- Comment author must fill out name and e-mail: This prevents people from leaving anonymous comments (however, people could still use a fake name and e-mail address).
- Users must be registered and logged in to comment: This option will only allow registered users of your site to post comments.
- Automatically close comments on articles older than _____ days: Closing comments on posts that are no longer active is a good way to limit spam comments. This option will do will allow your site to do this automatically.
- Enable threaded (nested) comments _____ levels deep: Enabling threaded comments allows your users to reply to one other. A reply to a comment is shown "nested" underneath the original comments. You can limit how many levels (a reply to a reply) of replies your site will allow by changing the number of levels here as well.
- Break comments into Pages with _____top level comments per Page and the _____ Page displayed by default: This option changes how your comments are displayed. You can set how many comment you see per Page and if oldest or newest comments are displayed first.
- Comments should be displayed with the _____ comments at the top of each Page: Set if you want newer or older comments at the top of each Page.
- Email me whenever...Anyone Posts a comment and/or A Comment is held for moderation: : If you don't check your site often, these feature can help you stay up to date on your comments.
- An administrator must always approve the comment: If you don’t check this option, comments can appear on your site without your permission. This will not only allow an influx of spam comments, but they will appear on your posts and Pages immediately after being submitted. Check this box to maintain the maximum amount of control over your site's comments.
- Comment author must have a previously approved comment: This option will allow you to cut down on the number of comments you have to approve. Once you approve one comment by an author, their future comments will be automatically approved.
- Hold a comment in the queue if it contains _____ links: Spam comments are designed to get users to click on links in order to drive traffic to other sites. As a result, many spam comments contain multiple links. Setting this option to hold all comments that contain 2 or more links will help catch more spam.
- Comment Moderation and Comment Blacklist: You can experiment with these text boxes to catch spam that contains certain word or is posted from a particular IP address. Comments caught through blacklisting are not deleted, but instead moved to your spam folder.
The settings under "Avatars" control the images your site displays next to comments. For an introduction to Gravatars, read the WordPress Lesson about How to Use Gravatars in WordPress.
Because spam is pervasive on the Web, some of the comments you receive will most likely be spam. However, WordPress developers and administrators have already developed a number of successful strategies to help you prevent spam comments from appearing on your site. In addition to experimenting with different options in Settings > Discussion, you can install a WordPress Plugin like Akismet or make other changes to help you keep spam comments under control.
Enabling Comments on Your Site
Once you have decided on your discussion options, you are ready to enable comments. If you chose not to enable comments on all articles automatically, you can turn on comments for a specific post or Page in several ways.
Turning on Comments for a Single Post or Page
Turning on Comments from the Posts or Pages Screen
Turning on Comments for Multiple Posts or Pages
Managing Incoming Comments
Moderating Comments with the Comment Screen
WordPress makes moderating your users' comments a simple process. The Comments Screen lays out the basic information about each comment and lets you decide what to do with it.
The Comments screen is divided into three columns: Author, Comment and In Response To. Each of these columns provide you with a different category of information about a particular comment.
Commenter Email Address
- Commenter IP Address
5. Time and Date Comment was submitted
6. Comment Text
7. Comment Moderation Options. You can approve, spam or trash a comment with one click. Reply, Quick Edit or Edit will open up a new screen for you to write a reply to the comment or edit the comment.
In Response To
8. Post Name
9. Number of Comments on the Post, Link to View Post
Bulk Edit Comments
Like the posts and Pages screens, the Comments screen supplies a Bulk Action dropdown box. Select the comments you want to edit, and then select Unapprove, Approve, Mark as Spam, or Move to Trash from the dropdown and click "Apply."