In this lesson, you will learn how to manage website comments,
approve or reject comments, reply to visitors, and control
comment settings in WordPress.
Learning Objective:
Understand how WordPress comments work and learn to moderate
comments to keep your website useful, safe, and professional.
1. What Are Comments in WordPress?
Comments allow visitors to respond to posts and participate
in discussions on a WordPress website. They are commonly used
on blogs, tutorials, news websites, and educational websites.
Example:
Post: Introduction to HTML
HTML is the standard markup language used to structure
web pages.
Visitor Comment
Thank you for this tutorial. It helped me understand
the basics of HTML.
Comment by Rahul
2. Why Are Comments Useful?
Visitors can ask questions about your content.
Readers can share feedback and suggestions.
Website owners can respond to common questions.
Comments can encourage discussion and engagement.
Teachers can receive feedback on educational tutorials.
3. Where to Find Comments in WordPress
Follow these steps to view comments:
Log in to the WordPress admin dashboard.
Find Comments in the left sidebar.
Click Comments to view submitted comments.
Review the available comment actions and status filters.
The Comments screen generally displays information such as
the comment author, comment text, associated post, and date.
4. Understanding Comment Statuses
Status
Meaning
Pending
The comment is waiting for moderation or approval.
Approved
The comment is approved and can be displayed publicly.
Spam
The comment has been identified as unwanted or suspicious.
Trash
The comment has been moved to the Trash.
5. How to Approve a Comment
A comment may need approval before it appears publicly,
depending on your discussion settings and moderation rules.
Open Comments in the dashboard.
Find the pending comment.
Read the comment carefully.
Choose Approve from the available actions.
Confirm that the comment is approved.
Approve comments that are relevant and appropriate for your
website. Do not approve spam or harmful content.
6. How to Reply to a Comment
To respond to a visitor:
Open the Comments screen.
Find the comment you want to answer.
Choose Reply if the option is available.
Write a helpful response.
Submit the reply.
Example Conversation
Visitor: How can I learn HTML?
Website Admin:
Start with basic HTML tags, headings, paragraphs,
links, and images. Practice by creating a simple
web page.
7. How to Edit a Comment
WordPress provides an editing option for comments so an
administrator with suitable permissions can correct or
modify comment content when necessary.
Open Comments in the dashboard.
Locate the comment.
Choose Edit or Quick Edit if available.
Make the required changes.
Save the changes.
Edit comments only when there is a legitimate reason, such as
removing inappropriate material or correcting a moderation issue.
8. How to Mark a Comment as Spam
Spam comments are unwanted submissions, often containing
advertising, suspicious links, or irrelevant messages.
To mark a comment as spam:
Open the Comments screen.
Find the unwanted comment.
Choose the Spam action.
Check that the comment appears in the Spam section.
Example of spam:
"Visit this unknown website to earn money instantly!"
Do not click suspicious links in spam comments.
9. How to Delete a Comment
To remove a comment from your website:
Open Comments in the dashboard.
Find the comment you want to remove.
Choose Trash from the available actions.
Confirm that the comment has been moved to the Trash.
You can generally restore a comment from the Trash before
permanently deleting it. Permanent deletion cannot normally
be undone through the standard WordPress interface.
10. How to Enable or Disable Comments
WordPress allows you to control whether visitors can submit
comments on posts and pages.
Change the Default Setting
Open Settings → Discussion.
Find the default article settings.
Enable or disable the option that allows comments on new posts.
Review other discussion options.
Save the changes.
Default discussion settings generally affect new content.
Existing posts may have their own comment settings.
Change Comments on an Existing Post
Open Posts → All Posts.
Edit the post you want to change.
Find the Discussion settings, if available.
Enable or disable comments.
Update the post.
Depending on your editor and screen configuration, you may
need to enable the Discussion panel in the editor preferences.
11. Configure Comment Moderation
Comment moderation lets you control which comments appear
publicly and which comments require review.
In Settings → Discussion, you can review options such as:
Whether a comment must be approved manually.
Whether the author must have a previously approved comment.
Whether comments containing links should be held for moderation.
Whether certain words trigger moderation or spam handling.
The available settings and their behavior depend on your
WordPress version and installed plugins.
12. Prevent Spam Comments
Use these practices to reduce unwanted comments:
Enable appropriate comment moderation.
Review suspicious links before approving comments.
Use a reputable anti-spam plugin when appropriate.
Keep WordPress and plugins updated.
Disable comments on content that does not need discussion.
Use CAPTCHA or similar protection if suitable for your website.
13. Best Practices for Comment Management
Reply politely to genuine visitor questions.
Remove spam and abusive content.
Do not publish visitors' private information unnecessarily.
Review comments regularly.
Apply moderation rules consistently.
Keep useful and relevant discussions available to readers.
14. Practical Assignment
Task: Practice Comment Management
Open your WordPress dashboard.
Open the Comments section.
Review any available comments.
Approve an appropriate pending comment, if available.
Reply to a genuine question, if available.
Mark a test spam comment as spam, if available.
Review Settings → Discussion.
Check the default comment settings.
Practice enabling or disabling comments on a test post.
Note: Use a test website or test post
when practicing moderation and deletion.
15. Lesson Summary
Comments allow visitors to respond to website content.
The Comments screen is used to manage submitted comments.
Comments can be approved, replied to, edited, marked as spam, or trashed.
Discussion settings control comment behavior.
Moderation helps prevent unwanted comments from appearing publicly.
Anti-spam measures can reduce unwanted submissions.