WebDesign.com PluginBuddy.com iThemes.tv

How to Hide “Comments Are Closed” – Simple Solution

March 3, 2011

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

Rate this ➜

0 people like this.
Categories: Blog, WordPress Tips


Keep Up With iThemes

Be the first to know when we release new themes and get special discounts!

iThemes loves, uses
and recommends HostGator for WordPress hosting

Host unlimited websites
for $7.95 per month.
Try HostGator Hosting

3 Responses to “How to Hide “Comments Are Closed” – Simple Solution”

  1. Builder removes comments by default on Pages.

    At My Theme -> Settings, display of comments can be controlled for both Pages and posts. Also, the message that appears when comments are disabled can also be controlled.

    Here’s a screenshot: http://d.pr/Tx3

    There’s also a plugin that removes comments on all Pages: http://wordpress.org/extend/plugins/no-comments-on-pages/

    • Nina East (Nina!) says:

      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.

  2. qrc says:

    Thank you for that!! Worked perfectly for my website :)

Leave a Reply



About iThemes

iThemes is one of the leaders in producing high-quality, professional WordPress themes, plugins and web design training. Simply put, we love WordPress, the open source software that runs our designs. We believe WP is an outstanding content management system that can both put your business on the Web map and help you easily maintain your blog and websites. Read our Behind the Scenes Story here »

Stay Updated

Be the first to know when we release new themes and get special discounts!

Follow iThemes on Twitter
OR the whole iThemes Brand Family