Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Blogging & content · Guide

How to Turn on Comments in WordPress (Step by Step)

How to Turn on Comments in WordPress (Step by Step)

Short answer

To turn on comments in WordPress, go to Settings, then Discussion, tick Allow people to submit comments on new posts and save. Existing posts keep their own setting, so open each one's Discussion panel and set comments to open, or use bulk edit in the Posts list to allow comments on many posts at once.

Key takeaways

  • Settings > Discussion sets the default for new posts only.
  • Each existing post has its own comments switch.
  • Bulk edit or WP-CLI opens comments on many posts at once.
  • Auto-close rules, plugins and theme templates can still hide comments.
  • Set moderation and spam protection before inviting comments.

How do you turn on comments in WordPress?

Go to Settings > Discussion and tick Allow people to submit comments on new posts, then open existing posts and set comments to open in the Discussion panel, or use bulk edit to allow comments on many posts at once.

WordPress controls comments at two levels. The site-wide setting decides the default for new posts, and each post has its own switch that overrides it.

That is why turning on the main setting often seems to do nothing. Posts written while comments were off still have their own switch set to closed.

This guide covers both levels, plus theme and plugin issues that can hide the comment form even when comments are open.

How do you turn on comments for new posts?

Open Settings > Discussion, tick Allow people to submit comments on new posts under Default post settings, and click Save Changes.

Steps:

  1. In wp-admin, go to Settings > Discussion.
  2. Find Default post settings at the top.
  3. Tick Allow people to submit comments on new posts.
  4. Scroll down and click Save Changes.

From now on, every new post starts with comments open. The Settings Discussion screen documentation explains every option on the page.

The same section has options for pingbacks and trackbacks. Most sites leave those off because they attract spam.

Changing this setting never touches posts you have already published. That is deliberate, so you can open comments on new articles without reopening old ones that might attract spam.

How do you turn on comments for an existing post?

Open the post in the editor, find the Discussion panel in the Post settings sidebar, set comments to open, and update the post.

In recent versions of the block editor, the Discussion setting sits in the post summary area of the sidebar. Click it and choose Open to allow comments.

In older versions, it is a checkbox labelled Allow comments inside a Discussion panel. If you do not see the panel, open the editor preferences and turn it on.

Click Update or Save to keep the change. Then view the post while logged out, or in a private window, to see the comment form.

How do you turn on comments in the classic editor?

Open Screen Options at the top of the edit screen, tick Discussion, then tick Allow comments in the Discussion box below the editor and update the post.

The Discussion box is hidden by default in the classic editor, which catches many people out.

How do you turn on comments for many posts at once?

Go to Posts > All Posts, select the posts, choose Edit from Bulk actions, set Comments to Allow, and click Update.

Steps:

  1. Open Posts > All Posts.
  2. Tick the box at the top of the list to select every post on the page.
  3. Choose Edit from the Bulk actions menu and click Apply.
  4. In the bulk edit panel, set Comments to Allow.
  5. Click Update.

Increase the number of posts per page in Screen Options to handle more at once. On large sites you may need to repeat the process for each page of results.

You can filter the list first, for example by category or date, so you only open comments on the posts that need them. This is useful if you want discussion on tutorials but not on announcements.

WooCommerce product reviews work separately. They are turned on under WooCommerce settings for products and in each product's Advanced tab, not through the Posts list.

How do you open comments on every post with WP-CLI?

With WP-CLI you can set every published post's comment status to open in one command, which is much faster on big sites.

wp post list --post_type=post --format=ids | xargs wp post update --comment_status=open

Take a backup before running bulk commands. The wp post update reference lists the other fields you can change the same way.

To change the default for new posts from the command line, set the default_comment_status option to open.

How do you turn on comments for pages?

Open the page in the editor and set Discussion to open, just like a post; if the page still shows no comment form, the page template does not include comments.

Comments are off by default on pages in most setups. Many themes also leave the comment section out of page templates, because pages are usually static content.

In a block theme, open the Site Editor, edit the Pages template and add the Comments block. In a classic theme, check for a page template that supports comments or ask the theme developer.

Why are comments still not showing after turning them on?

The comment form can stay hidden because of an automatic closing rule, a plugin that disables comments, a theme template without a comments section, or caching.

Work through these checks:

CauseWhere to checkFix
Comments closed after a set number of daysSettings > DiscussionUntick or raise the auto-close limit
Post-level switch still closedPost Discussion panelSet to open and update
A plugin disables commentsPlugins listChange its settings or deactivate it
Theme template lacks commentsSite Editor or theme filesAdd the Comments block or use another template
Only logged-in users can commentSettings > DiscussionUntick the registration requirement
Cached pageCaching plugin or hostClear the cache

The auto-close option, Automatically close comments on posts older than X days, is easy to miss. It closes comments on old posts even after you open them.

Plugins named something like Disable Comments are a common culprit, often installed years earlier and forgotten. Our guide on fixing comments not showing covers each cause in detail.

Developers can check the result in code with the comments_open function, which reports whether a post accepts comments after all filters run.

How do you turn on comments in a block theme?

Make sure the Single Posts template contains the Comments block, which shows existing comments and the comment form, then save the template.

Open Appearance > Editor, go to Templates and edit Single Posts. If there is no comments section, add the Comments block below the post content.

The Comments block contains inner blocks for the comment list, pagination and form. You can style them with the block settings.

If you previously removed comments in the Site Editor to hide them, this is where you bring them back.

Which comment settings should you set when turning comments on?

Set moderation rules, decide whether people must log in, choose how many links trigger moderation, and set up spam protection before inviting comments.

A sensible starting setup:

  • Tick Comment must be manually approved or Comment author must have a previously approved comment.
  • Leave Users must be registered and logged in to comment off unless you run a members site.
  • Keep Hold a comment in the queue if it contains 2 or more links, the default.
  • Turn on email notifications so you know when comments arrive.
  • Turn on threaded comments if you want replies nested under each other.

Our guide on how to moderate comments explains the moderation queue and what each action does.

How do you stop spam once comments are open?

Use a spam filter such as Akismet, keep links limited and moderation on, and consider a privacy-friendly CAPTCHA or honeypot plugin if spam still gets through.

Akismet checks each comment against a large spam database and is made by Automattic. Read what Akismet is for how it works and when it is free.

WordPress adds ugc and nofollow to links in comments by default. Google explains these values in its guide to qualifying outbound links.

Our guide on how to stop comment spam covers more methods.

Do you need a privacy notice for comments?

Usually yes; comments collect names, emails and IP addresses, so your privacy policy should say what you store and why, and some regions require consent for the cookies option.

WordPress adds a Save my name, email, and website in this browser checkbox to the comment form when the cookies opt-in setting is enabled.

This is general information, not legal advice. Our guide to GDPR compliance for WordPress explains the main points.

If you later decide comments are not worth the moderation time, turning off comments reverses these steps.

Frequently asked questions

Why did turning on comments in Settings not work?

The Settings, then Discussion option only affects new posts. Existing posts keep their own comment switch, which may still be closed. Open them in the editor or use bulk edit in the Posts list to allow comments on them.

How do I enable comments on WordPress pages?

Open the page, set Discussion to open and update it. If no comment form appears, the page template does not include comments. In a block theme, add the Comments block to the Pages template in the Site Editor.

Why do comments close on older posts?

Settings, then Discussion, has an option to automatically close comments on posts older than a set number of days. Untick it or raise the number, and comments reopen on older posts that are set to allow them.

Do I need a plugin to turn on comments?

No. Comments are built into WordPress. You only need a plugin for extras such as spam filtering, social login or a different comment system. A plugin may also be the reason comments are off.

Should every comment need approval?

It is a safe start for new sites. A middle ground is to require approval only for people who have never had a comment approved, so regular readers post straight away while first-time commenters are checked.

Sources

  1. Settings Discussion Screen WordPress.org Documentation
  2. comments_open() WordPress Developer Resources
  3. wp post update WordPress Developer Resources
  4. Akismet Automattic
  5. Qualify your outbound links to Google Google Search Central

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.