WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Comments On/Off option not available - Add New or Edit Post/Page (3 posts)

  1. sundaraaa
    Member
    Posted 2 years ago #

    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?

    Thanks,
    Sundar

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    If you do not see the Discussion pane, click Screen Options and tick "Discussion" on Edit Page/Edit Post.

  3. sundaraaa
    Member
    Posted 2 years ago #

    Thank you. very much

Topic Closed

This topic has been closed to new replies.

About this Topic