• While developing a new site for a client of ours, I was looking all over the place for an answer to this. Everything seemed to be all over the place with things going wrong here and there depending on what approach was taken. Furthermore they all seemed too complicated to be worth pursuing.

    We needed something that:

    1 – Didn’t risk me breaking the whole piece of software.
    2 – Could be easily reverted after an update if needed

    After searching I finally gave up and got my programming team to help out. Figured it out in about 2 minutes, now there are no more comment / Leave A Reply sections on the site.

    This makes us very happy people indeed. ??

    Here’s how we did it:

    1 – Find comments.php in your theme’s folder.

    2 – Comment out the whole contents of the file using html <!– and viola, nothing shows up on the page and there’s no extra white space either.

    That’s it. ??

    Christian

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing Comments Section From All Pages’ is closed to new replies.