By default, WP supports control of comments for Posts and Pages through register_post_type() function with ‘supports’ argument. But when in Add New or Edit Page / Post, I am not able to see those options.
I have a requirement that my Pages shall not have Comments enabled. For instance, About Page need not require Comments to be enabled.
In my theme, there is new Post type called “Portfolio”. When I go to Add New or Edit Portfolio, I am able to see “Discussion” meta box to control the comments. When a custom Post type can enable this option, why WordPress by default does not offer to control my comments?
If there is any tweak, then I would like to know, How to bring the comments enable options?
- The topic ‘Comments On/Off option not available – Add New or Edit Post/Page’ is closed to new replies.