Support » Fixing WordPress » remove "comments" box from pages and posts

  • How do I turn off “comments” on the Spectrum theme.

    I have read other posts on how to do this and have done “settings” then “discussion” then UN-checked the “allow comments” box but the box is still there.

    Any suggestions?

    cheers
    Kleverklikk

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can remove or better yet, comment out, the line in the template.

    Open pages.php and single.php in your theme and check for something similar to the following:

    comments_template('', true);

    Remove that line or to comment it add two forward slashes infront of the line and there you have it, comments gone for good.

    I deleted the line altogether. I tried the two forward slashes but that didn’t work. Deleting the line did.

    Thank you so much.

    I wasted so much time looking for the answer, and you told me in an instant, bless you!

    cheers
    Kleverklikk

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘remove "comments" box from pages and posts’ is closed to new replies.