Disable comment function (3 posts)

  1. larsfarm
    Posted 9 years ago #

    Is there an easy way to completely disble the comment function? Such that there is no hint of a comment mechanism. Messages don't end in "No Comment". No text entry box etc.


  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    <?php comments_template(); // Get wp-comments.php template ?>

    Remove that from index.php and from page.php / single.php
    That'll stop anything appearing.

  3. To avoid spammers and such though from still posting comments, go to Options -> General and check "Users must be registered and logged in to comment".

Topic Closed

This topic has been closed to new replies.

About this Topic