Up until recently, WordPress gave two options: You could either disable comments and trackbacks by default for all pages and posts, or you could have them active by default. In WordPress version 4.3, this finally changed so comments are always disabled on new pages.
While the new change makes it easier for many of the sites, it make it harder for people who need to get the reverse and enable comments on all pages, or if they need to change the default for a custom post type. This plugin allows you to choose whether comments are enabled or disabled by default on all new posts, pages and custom post types, while still giving the ability to individually enable comments on posts or pages.
Also, this plugin provides a way to quickly disable all comments or pingbacks for a specific custom post type. 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 using this feature, but it’s always good to play it safe.
- 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, attachments 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.