By default, WordPress gives you two options. You can either disable comments and trackbacks by default for all pages and posts, or you can have them active by default. Unfortunately, there is no specific WordPress setting that allows comments and trackbacks to be active by default for posts, while disabling them on pages.

Because I frequently use WordPress as a content management system for clients, there have been times where I want to have all of my posts include comments, but disable them on the pages, yet not all of them. There have been workarounds created by disabling comments sitewide on all pages and/or posts, but when I need to open comments up on only one or two pages, this can’t sole my problem. The other option is to leave comments open for all posts and pages, and then remember to disable them one every page except for the one’s I want comments enable on. While this is a solution, it’s one extra thing I have to remember when creating a page, and has been forgotten at times.

So, in order to remedy my situation, I’ve written a plugin to automatically uncheck the discussion settings boxes when creating a new page (but not a new post). Then if you want to open up comments on that page, all you have to do is scroll town to the discussion admin box and check the appropriate boxes to enable comments and/or trackbacks.

Visit the WordPress Plugins Directory to download the No Page Comment plugin.

How do I install No Page Comment

  1. Unzip the `` file and upload the `no-page-comment` folder to your `wp-content/plugins` folder.
  2. Alternatively, you can install it from the ‘Add New’ link in the ‘Plugins’ menu in WordPress.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Comments and trackbacks will be turned off by default when adding a new page.

Why aren’t comments and trackbacks being disabled?

Javascript probably isn’t active on your browser. Enable javascript for the plugin to work correctly.

Why are comments disabled in posts as well?

This is most likely due to a setting in WordPress. Go to the Discussion settings page and make sure that comments are enabled on. The plugin will only block comments on pages.

How do I modify the comment settings on an individual post or page?

First, you must make sure you can see the Discussion admin box. Enable this by clicking on the ‘Screen Options’ tab at the top right and then checking the discussion checkbox. Below the post/page editor, there will be a new admin box allowing you to specifically enable or disable comments and trackbacks for that page or post.

Who else has helped?

I would like to give a special thanks to the following for helping translate No Page Comments into other languages:

How did you create these fancy FAQs?

These FAQs were created using another plugin I created called WP FAQs Pro. View the full details on WP FAQs Pro.

// End shameless self promotion