Moderate comments

v0.0.1

Signed-in readers can comment on a published post. Every comment they write starts as Pending and stays out of sight until a moderator approves it. This guide reviews pending comments, approves or rejects them, replies as a moderator and pins a comment to the top of a conversation.

Before you begin

  • Set the blog up on your site.
  • Sign in with an account that holds admin:dashboard:blog:comment, or a wildcard that covers it. This is a separate permission from the one that manages posts, so a moderator does not need to edit posts. See Blog permissions.
  • Show comments on your post pages. The sample post page already includes the blog-post-comments block. See Show the blog on your own pages.

Review pending comments

  1. In the admin sidebar, under Plugins, click Blog, then click the Comments card. The page is titled Comments Management.
  2. In the Status filter, choose Pending. The other statuses are Approved, Flagged and Spam.
  3. To read the comments on one post, choose it in the Post filter. You can also click the comment count on the post's card on the Posts page.

the Comments Management page with the Status filter set to Pending and two comment cards, each with Approve, Flag, Spam and Delete buttons

Each card shows the comment, its post and its status.

The Search filter looks in the text of the comments. The Pinned filter narrows the list to pinned comments.

Decide what to do with a comment

Use the buttons on a comment's card. In the table view, Edit, Approve and Delete are icon buttons and the rest are in the Actions menu.

ButtonWhat it does
ApproveSets the status to Approved. Readers see the comment.
FlagSets the status to Flagged, to review it later. Readers do not see it.
SpamSets the status to Spam. Readers do not see it.
Pin and UnpinPins the comment so it carries a Pinned badge, or removes the pin.
EditOpens the comment's Content, Status, Pinned and Parent Comment in a form.
DeleteArchives the comment after you confirm. Restore and Delete forever appear under the Archived toggle.

Readers see only Approved comments. A pinned comment shows a Pinned badge. Replies are listed under the comment they answer. A commenter who has a blogger profile on the site is shown by that profile's display name, and one without a profile is called Reader.

Reply as a moderator

  1. Click Reply on the comment. The form opens with the comment's post and the comment itself filled in as its parent.
  2. Write your answer in Content.
  3. Set Status to Approved if readers should see it.
  4. Click Create.

A reply from a site admin is credited to that admin's account. To write a comment that is not a reply, click Add Comment and choose the post in Post.

What readers can do

  • Only a signed-in reader sees the comment box. A visitor who is not signed in sees a link to sign in.
  • After a reader sends a comment, the box tells them that the comment is waiting for a moderator.
  • On a post that is locked to a permission, only readers who can open the post can see or write comments. See How blog locks work.
  • To close a conversation to new comments, set allow_posting to off on the blog-post-comments block. The existing comments stay visible.

Next steps