Support » Fixing WordPress » Disable comment function

  • 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.

    Lars

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mark (podz)

    (@podz)

    Support Maven

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

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

    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”.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable comment function’ is closed to new replies.