Remove the Comment Counter From WordPress Thesis Theme

by Elaine on January 24, 2011

Thesis Tutorial: Learning about hooks is key to customizing your Wordpress Thesis theme.  Hooks are basically a set of commands you use to add to, remove from, or modify functionality of your Thesis theme.    All these commands are usually entered into your custom_functions.php.  I was researching about hooks because I wanted to remove the comment counter {0 Comments} on the front page of my Thesis theme.   You can see that the comment counter is gone now.  How did I do that? I can’t tell you.

I’m kidding.  There are two ways to make this modification:

1.  Add code into your custom_functions.php.    Go to your /custom-sample/custom_functions.php and add the following line:

function remove_comments_intro($content) {    $content = '';    return $content;  }  add_filter('thesis_comments_intro', 'remove_comments_intro');

2.  Thesis OpenHook editor.  Install the Thesis OpenHook editor plugin.  This plugin was made exclusively for Thesis Theme users to make customizations without going in too deep into the code.  It’s also much easier to see where and what code was entered.  Both ways are are just as easy to me.  I would prefer to manage my code with a plugin tho.  So I won’t have to go digging later for code that I want to remove.   Check off the box for “Remove Thesis comments link”.  You will see under the After Post Heading:


Remove Thesis comments link
This will remove the “{ Comments # }” link from the index and archive pages.

After you save and refresh your site, the comment counter should be gone.    You should also check out the Thesis Theme features here.


 Remove the Comment Counter From Wordpress Thesis Theme


Elaine is the founder of CmsMind, an online blog providing Joomla and Wordpress tutorials. Elaine lives in Toronto and when she is not online, she is either Marathon and Triathlon training or travelling and racing somewhere in the world. Find her also at: Save Money, Premium Themes and Templates, and at Webhosting Tips.

More Posts - Website

{ 2 comments… read them below or add one }

Anthony Ryan April 4, 2012 at 10:21 pm

Cheers for this. I always forget the code every time I want to remove the comment count and have to go searching for it.


Elaine April 5, 2012 at 11:50 am

Hi Anthony,
I always forget too and go searching my site for the answer. lol.
Thanks for your visit,


Leave a Comment

Captcha Captcha Reload

Older Post:

Newer Post: