WordPress.org

Support

Support » Plugins and Hacks » Remove Comments From Pages

Remove Comments From Pages

Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove Comments From Pages’ is closed to new replies.