Possible Duplicate:
setting comments off as default for pages and custom post types?
When I create a new page, I want these two checkboxes (from the "Discussion" meta box) to appear unchecked by default.
Can this be done programmatically?

When I create a new page, I want these two checkboxes (from the "Discussion" meta box) to appear unchecked by default. Can this be done programmatically?
|
|||||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
You can re-register the "page" post type and leave out the comments capability.
Actual answer: original source here
|
|||||||||||||
|
|
This has/had annoyed me for a while so I did some digging around:
works as of WP 3.4.2 |
|||||||||||||
|
|
Re-registering the
|
|||||||
|
These changes will not change settings for existing posts. If you want to change existing posts, do a Bulk Edit from the EditSorry, I misread your question initially. WordPress doesn't provide a UI to set default comment status based on post type. Note: this is a known issue. |
|||||
|
|