Written by on

How to Hide “Comments Are Closed” – Simple Solution

Have you ever wondered how to get rid of the “Comments are closed” statement that appears at the end of your content? This is one of those pesky features that drive some WordPress site owners crazy.

There’s actually a super-simple solution.

All you have to do is add the following to the END of your theme’s style.css file:

Remove "comments are closed" statement

If you are new to working with your style.css file, here are a couple of pointers:

You can access the stylesheet in your WP dashboard by going to Appearance > Editor.

It is usually the last, or almost last, file listed in the right column. Click on it, if it’s not already selected, and you will see the code for your stylesheet in the editor window.

First, copy, paste, and save the entire stylesheet to a text file on your computer. You want to have the original to go back to just in case you inadvertently delete something.

Or, for a full solution, you can use BackupBuddy to make a full backup. (That may be over-kill in this situation, but it never hurts to be safe.)

Once you have the style.css file showing in the editor window, scroll all the way to the bottom and add the three lines of code in the image above. (You aren’t adding the numbers in the gray box – they are just to help you see the code.)

Be sure to “update file”, then go view your site.

See how simple that is?

The iThemes Support Forum is chock full of answers to questions about themes, plugins, and general WordPress issues. The Support Forum is available to current license holders.

You can also access the iThemes Codex for additional support.
(p.s. This tip came from the iThemes Codex.)

Comments

    • Thanks, Sridhar.
      You are right…and Benjamin reminds me that sometimes there are so many ways to do things that it can confuse the WP user!
      1. Yes, you can remove it in the CSS
      2. You can now also remove it in the Builder settings page
      3. And finally, you can also remove it by using a plugin.

  1. Thanks Nina. It really works!..
    I´ve wrote your code in user.css .
    After that I´ve added another line of code, because , in my case, a title box of the comments box (class= “module-title” ) hadn´t been erased…. I hope that erased class doesn´t affect another parts o the blog!!! :-S

    .nocomments {
    display: none;
    }
    .module-title {
    display:none
    }

  2. THANK YOU SO MUCH! I have spent the last hour googling this, and you are SO right that it drives site owners (like me) CRAZY! Now it doesn’t, thanks to you! I feel like a coder already 😀

  3. sorry but i tried this exactly as posted, and it hasn’t removed my “comments are closed” from end of pages and posts. My theme is weaver II. Any idea what else i could try?
    Thanks

  4. I have a blog and had the same problem. I found this and tried it, several times and I am fairly up to speed on code level tweaks, but it didn’t work for me. Would be grateful if you could update this article with any suggestions if the first process doesn’t work?
    grateful for the post though as nobody seems to address this annoying bug

  5. Thanks, this worked great! If your theme has a custom css area in the admin panel, I’d suggest entering the code there instead of into the theme files. Cheers!

  6. Unreal! I’ve been looking for the answer to this for so long! Thanks a lot! No more “Comments are closed” on my websites.
    Thanks a lot, keep up the inspiring work!

    Cheers!

    Jullian

Respond

×

Sale Ends Today! Save 35% OFF BackupBuddy with coupon code BACKUPWP35