[wp-hackers] Disable comments on pages post type
nanogwp at gmail.com
Thu May 26 13:53:32 UTC 2011
What's the "best practise" way to disable comments support on the "page"
When creating a custom post type, you specify:
register_post_type('example', array('supports' =>
thus creating the comments functionality on the front-end, and the
back-end. Removing this, would remove the comments box from the
back-end, as well as not accepting posts on the front-end.
How do you modify the page post type to disable comments support?
I know you can obviously just "untick" the box under discussion, but I'm
looking to remove "comments" support from "page" post types altogether ...
More information about the wp-hackers