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.
- De plugin activeren via het ‘Plugin’ 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:
- Reacties uitschakelen
- 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.
- Why aren’t comments and trackbacks being disabled?
The second possible issue is that you are duplicating a post or page. This plugin only works when you are on a new post/page screen, while plugins that duplicate posts, duplicate the post first and then take you to an edit screen. Unfortunately, there is no way to get around this issue, so if you plan on using a duplication plugin, then you will just have to remember to disable your comments.
- Why can’t I enable comments of custom post type: “X”
Depending on your theme or plugin that created custom post type “X”, that post type may not have comments set up. If this is the case, this plugin cannot help you and you will have to talk to your theme/plugin author.
- Why is “Comments are closed” or some other text displayed after I disable my comments?
Many themes will include text to show that comments are not enabled on a post. To remove it, you would need to talk to your theme author.
- 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.
- I want to quickly disable all trackbacks throughout my blog posts. Is this possible?
Of course, although it is highly recommended that you backup your blog’s database prior to completing this step. Go to the ‘No Page Comment’ settings page and scroll to the bottom of the page. There is an area that will allow you to either enable or disable both comments and trackbacks for any post type you have installed on your blog.
- How can I help support No Page Comment?
Donations are always accepted, but I am also looking for help from others who want to make this plugin better. Please fork the plugin on Github and feel free to report any issues. Also, I am looking for people who are interested in translating No Page Comment into other languages. Please contact me me if you are interested.
Bijdragers & ontwikkelaars
“No Page Comment” is open source software. De volgende personen hebben bijgedragen aan deze plugin.Bijdragers
- SECURITY: Patch XSS security vulnerability.
- SECURITY: Patch CSRF security vulnerability.
- UPDATE: PHP 7 support.
- UPDATE: WordPress 4.3 support.
- UPDATE: Rename settings option in database.
- NEW: Clean up database on uninstall.
- NEW: Add Dutch language support.
- NEW: Add Italian language support.
- NEW: Add Swedish language support.
- FIX: Fix to make mu-plugin friendly. Thanks @swinggraphics.
- NEW: Add Spanish language support.
- NEW: Add Serbian language support.
- UPDATE: Complete translation support.
- NEW: Add .pot file for translation.
- FIX: Stop plugin CSS from loading on other admin pages.
- FIX: Add missing files from failed SVN commit.
- UPDATE: Rewrite plugin to decrease code bloat
- UPDATE: Fix settings so they are not dependent on WordPress’s comment settings
- UPDATE: Fix settings page so it displays responsively
- NEW: Add support for attachments
- NEW: Update discussion options page to include link to No Page Comment settings page
- NEW: Prepare plugin for translation into other languages
- NEW: Add ability to enable/disable all comments or trackbacks on any specific custom post type. It is highly recommended that you backup your blog’s database prior to doing this.
- UPDATE: Style Admin Settings Page to match with WordPress
- NEW: Add support for posts
- NEW: Add support for custom post types
- NEW: Initial release.