WordPress.org

Ready to get started?Download WordPress

Forums

Removing the comment section from my pages (6 posts)

  1. ergontronblog
    Member
    Posted 2 years ago #

    Hi, I want to remove the comment section from my pages.

    Note: The comment section has to be removed from pages only and not posts.

    How to do it?

    My website is : http://restaurantownerradio.com/

  2. Paul Kaiser
    Member
    Posted 2 years ago #

    It depends on what theme you are using.
    If your theme just uses the default page template, "page.php," then there is likely a line in there like:
    <?php comments_template( '', true ); ?>
    Remove that or comment it out and you should be good to go.
    Paul

  3. excela6
    Member
    Posted 2 years ago #

    i need to remove the comments box on all my website pages. how can i do that? i dont want any posts or comments.

  4. Paul Kaiser
    Member
    Posted 2 years ago #

    Excela6, are you saying you just do not want any commenting to occur on your site?

    If that is what you are asking:
    1. Go to Settings > Discussion
    2. Turn off commenting there

    If that is not what you are asking, then please elaborate.

    Take care,
    Paul

  5. excela6
    Member
    Posted 2 years ago #

    the comment box is still visible.... how can i remove that box completely?

  6. Paul Kaiser
    Member
    Posted 2 years ago #

    Howdy,

    If you had comments on when you made pages earlier, those pages will still allow commenting and show the box.

    1. Go to those Pages (Editing)
    2. In the "Discussion" box, turn off commenting.
    NOTE if you cannot find the Discussion box, check the "Screen Options" at the top of your page.

    Give it a shot,
    Paul

Topic Closed

This topic has been closed to new replies.

About this Topic