This document is deprecated! The information on this page refers to a Thesis version that is now obsolete. Please visit the Thesis Docs for current documentation.
When Comments are Disabled on All Pages ∞
If you don’t wish to allow any comments on all of your Pages, then you can go to the Design Options panel, and under Display Options, expand the “Comments” section, then check the option for Disable comments on all pages
. This will have the added effect of removing the “Comments on this entry are closed.” message from all of your Pages.
Note: This setting applies only to Pages, not to Posts.
When Comments are Disabled on Some Pages and Posts ∞
Go to the Design Options panel, and under Display Options, expand the “Comments” section, then uncheck the option for “If comments are closed, display a message”.
If you’re using a version of Thesis prior to 1.7, then you can hide the message with this code in custom.css
:
.custom .comments_closed p { display: none; }
On Multi-Post Listings ∞
Go to the Design Options panel, and under Display Options, expand the “Comments” section, then uncheck the option for “If comments are closed, display a message”.
If you’re using a version of Thesis prior to 1.8, place the following code in custom_functions.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');
Thanks to Kristen Symonds (@kristarella) for her contributions to this custom PHP code!