WordPress.org

Ready to get started?Download WordPress

Forums

Remove Comments From Pages (2 posts)

  1. techtubecentral
    Member
    Posted 4 years ago #

    Is there a way to remove a comment box from a page with a plug in or something

  2. f00bar
    Member
    Posted 4 years ago #

    Go into the admin, and then turn off comments for the page/post you do not wish to have comments added to. You can do this on the Edit screen. Or, if you don't want to box to be shown at all, go into the file single.php located in the root of your theme and delete/comment out the following lines:

    <?php comments_template(); ?>

    As a developer, I personally delete most of the code in there and create my own templates, but doing the above will remove the comments box, even if you allow comments.

Topic Closed

This topic has been closed to new replies.

About this Topic