Disable comments by default on new pages and custom post types, while still giving you the ability to individually set them on a page or post basis….
Version – 0.3
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 or any other post type.
There have been workarounds created by disabling comments site-wide on all pages and/or posts, but what if you actually want to have comments on a page or two? The difference between this plugin and others is that it will automatically uncheck to discussion settings boxes for you when creating a new page, while still giving you the flexibility to open comments up specifically on individual pages and post types.
Also, if you are looking for a quick way to disable all comments or pingbacks for a specific custom post type, that feature has now been built into the plugin. It directly interacts with your database to modify the status, so it is highly recommended that you backup your database first. There shouldn’t be any issues with this feature, but it’s always good to play it safe.
Official No Page Comment Plugin Page
Donate to Support No Page Comment Development
- Unzip the
no-page-commentfolder to your
- Alternatively, you can install it from the ‘Add New’ link in the ‘Plugins’ menu in WordPress.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Comments and trackbacks will be turned off by default when adding a new page.
Click ‘No Page Comment’ in the settings panel. A screen will display showing the following settings for posts, pages, and any other custom post type installed on your blog:
- Disable comments
- Disable trackbacks
Note: These settings set the default when creating a new page. Once a new post, page, or custom post type is added, comments can be enabled by modifying the Discussion settings for that page.
Also, there is now the option to globally enable/disable comments or pingbacks of a specific post type.
- The Settings page on a fresh WordPress 3.5 installation