Ever wanted to remove the, “Comments on this entry are Closed” in Thesis? Easy! Just copy the CSS code below and paste anywhere in custom.css:
.custom .comments_closed {text-indent: -9999px;}OR:
.custom .comments_closed {display: none;}Either way you’ll be “hiding” the text from human eyes.

Before
UPDATE 4.14.10
With the recent release of Thesis 1.7, there is an easier way (although the above method still works)
- WP Dashboard –> Thesis Site Options –> Display Options –> Comments
- Uncheck “If comments are closed, display a message”
- Big-Ass Save Button













Hi Rick,
Is there any reason you can think of that would stop this tip from working? On my thesis site I've tried both options but it hasn't removed the text.
Also, I'm using Disqus on my site too. I would like to remove the Disqus comments stuff there also. This is the stuff that is visible on a post that I have disabled comments:
You are commenting as a Guest. Optional: Login below.
*
Comments for this page are closed.
Showing 0 comments
Sort by Subscribe by email Subscribe by RSS
Thanks.
Joseph
use both:
I think the HTML framework you use may be the problem, so using both will make you covered. I have yet to have problems now, I have yet to find anything on this, besides the first code.
.custom .comments_closed {display: none;}
.custom .to_comments {display: none;}
Can I see a link to your site? I would be happy to take a look. I hacked Discus using CSS, that's it. “display: none” is very powerful ;)
Hi Greg,
Here you go, http://twe.to/of7f
Thanks for that.
Joseph
Can I see a link to your site? I would be happy to take a look. I hacked Discus using CSS, that's it. “display: none” is very powerful ;)
Hi Greg,
Here you go, http://twe.to/of7f
Thanks for that.
Joseph
Thanks… It worked perfectly
Hi Greg,
Me again :) I've disabled Disqus and your css trick above is working which is cool.
You mentioned about the disqus hack you are using to remove their stuff on the pages and posts I want comments closed.
Can you share what that is? I've tried doing it myself by playing with the custom.css file but I ended up removing everything relating to disqus! Even on pages and posts I want comments on. :)
Cheers
Joseph
artik bende ne yazacagimi sasirdim?
Hey Greg –
Thanks again for all the terrific content!
I applied this fix and it works in my ‘sandbox site’ – it surely removes the “Comments are closed” comment. But there seems to be a problem related to introducing this code to the custom_functions.php file.
I’m using Mike Nichols’ fat-footer code which enables you to place widgets in the footer. It works fine. However, as soon as I introduce your code to remove the “Comments are Closed” comments (and they are successfully removed), and then click on the drop down Categories widget, it returns a WP error (code below). When your fix is removed from custom_functions.php, no such error happens.
Here’s the fix code I put in custom_functions.php:
Once the drop down Category widget is used, here’s the resulting error message:
Warning: Cannot modify header information – headers already sent by (output started at H:\WEB WORK\local_ioa\wp-content\themes\thesis_16\custom\custom_functions.php:40) in H:\WEB WORK\local_ioa\wp-includes\pluggable.php on line 868
Here are the relevant lines from pluggable.php:
function wp_redirect($location, $status = 302) {
global $is_IIS;
$location = apply_filters(‘wp_redirect’, $location, $status);
$status = apply_filters(‘wp_redirect_status’, $status, $location);
if ( !$location ) // allows the wp_redirect filter to cancel a redirect
return false;
$location = wp_sanitize_redirect($location);
if ( $is_IIS ) {
header(“Refresh: 0;url=$location”);
} else {
if ( php_sapi_name() != ‘cgi-fcgi’ )
[868] status_header($status); // This causes problems on IIS and some FastCGI setups
header(“Location: $location”, true, $status);
}
I inserted [868] to show the line of code referenced in the error message.
I’m running this on a localhost Xampp Apache server (on a PC), WP 2.9.2 and Thesis 1.6.
I know that the error results from using the fat-footer widget, but it only happens when the code is in the file. I didn’t want to burden you with more code… but will gladly send you the entire custom_functions.php, if you’d like to review.
Many Thanks!
Jordan
Oops…
I left out the code I added to custom_function.php:
function remove_no_comments() {
if (!comments_open())
remove_action(‘thesis_hook_after_post’, ‘thesis_comments_link’);
else
add_action(‘thesis_hook_after_post’, ‘thesis_comments_link’);
}
add_action(‘thesis_hook_before_post’,'remove_no_comments’) ?>
AND, possibly worse… I now see that this is the wrong thread because the fix on this thread is css-based and not functions.php. The only question, does the code immediately above come from you, or did I confuse the source of the code as well. If so, my apologies!
Thanks again,
Jordan
I haven’t used thesis theme but I have save this page for future reference. It is worthy to spend time reading this post.
FYI, the location of the comments settings has been moved since the 1.8 release. Instead of Site Options, it has been re-located to Design Options -> Display Settings -> Comments.
Yup, it’s still in beta…but good call.
hello sir
in my articles comments are not showing only the name who wrote comment is show
like this
{ 1 comment… read it below or add one }
1 puneet September 4, 2010 at 3:59 PM
how can i see full comment texts and details
thanks sear this great for me :)
This is great info. I am considering adding thesis theme to my website, so I am just eating all this info, and I am sure it will be a kick *** theme when I buy it and customize it. :)
Pedro,
Tava Tea Scam
I would love to know so much about thesis as you. Your blog will be very halpful to me.
Eye Secrets
Thanks! I didn’t know of this option. Since I’m “rockin’” 1.8, I found that it’s on Thesis Options/Design Menu instead of Site Options.