How to Remove Comments from Homepage of Thesis Theme?

by Harshad on July 15, 2009

Customizing Thesis WordPress theme is not an easy thing to do. It requires special coding skills as it is quite different from other WordPress themes.

There are some default features in Thesis theme which are not much useful for blogs. Many Thesis users don’t like the no. of comments “{comments}” feature on their blog’s homepage. This irritating feature can easily be removed with the help of following two methods.

Remove Comments from Homepage of Thesis Theme

Method 1: (Open hook)

  1. Install “Thesis OpenHook” WordPress plugin on your blog.
  2. Open the “Appearance” tab and select “Thesis OpenHook”.
  3. Select thesis_hook_after_post and check “Remove Thesis comments link” as shown in figure below.
  4. Click on save button.

Open Hook After Post

Method 2: (custom_functions.php)

1. Open custom_functions.php file from Thesis theme folder.

2. Add this code in the file -

remove_action(‘thesis_hook_after_post’, ‘thesis_comments_link‘);

3. Save the file.

Now you can check your blog’s homepage to see the change.

Check out some cool Thesis theme customizations.

Also read:

How to add Twitter Field in the Comment Section of Thesis Theme?

How to add your own Logo in Thesis Theme?

Related posts:

  1. How to display Ads in Single Post of Thesis Theme?
  2. How to Add Twitter Field in the Comment Section of Thesis Theme?
  3. Get TweetMeme Button on Thesis WordPress Theme
  4. How to Add a Favicon in Thesis Theme?
  5. How to display 125 x 125 Ads in Sidebar of Thesis Theme?

{ 18 comments }

Term Paper Writing July 17, 2009 at 12:30 pm

i am also using Thesis theme on my tech blog and this is a useful post. any more such suggestions to make this theme and blog more better ??? for visitor and seo purpose.

Harshad July 17, 2009 at 4:37 pm

Well, it depends on what you write on your blog. Content is more important than any other thing. Thesis is completely customized theme, you don’t have to do anything else for SEO.

I will write some articles in upcoming days to make it more unique and different. :)

Stefan July 19, 2009 at 2:08 pm

Thesis are truly highly customizable without having to change its source code. I’m looking forward to see more of this posts from you, since I’m still new to Thesis.

Harshad July 20, 2009 at 3:54 pm

I’ll definitely write few more articles on thesis customization. Do subscribe to our feeds to get latest updates. :)

Stefan July 24, 2009 at 2:49 am

Thought about it and decided to subscribe today. Again, looking forward to see more posts about Thesis (and a bit less about Windows :) )

Bilal Bhatti July 26, 2009 at 5:22 pm

Kindly tell me how to remove “click here to continue” or “read more” link from the thesis homepage, i don like it. I want readers to click title of the post to read it completely instead of reading the complete post by clicking “click to continue” link. I hope you got the point.

Harshad July 26, 2009 at 8:57 pm

Hey Bilal,

Just change the no. of featured post and select “Display full post content” option in Thesis Options. It’ll remove the “Click to continue” link from the homepage of your Thesis theme.

Bilal Bhatti July 26, 2009 at 5:23 pm

Also please tell me how to reply to a specific comment in thesis, my thesis theme dont have got the option of reply to a comment, also it dont have option of “Notify me of followup comments via e-mail”, need help…

Harshad July 26, 2009 at 9:04 pm

1. I think you haven’t upgraded Thesis to newer version 1.5.1. Upgrade your theme and enable the threaded comments feature in your blog.

2. “Notify me of followup comments via e-mail” is not a default feature in Thesis theme, you’ll have to use “Subscribe To Comments” WordPress plugin.

Mike August 18, 2009 at 6:09 pm

Hi,

i added remove_action(’thesis_hook_after_post’, ‘thesis_comments_link’); in the custom_functions page.
Now when i select a ‘nieuwsbrief in the the rss feed for example ‘nieuwsbrief 1′ i still get a comment box beneath. How can i delete that?

here is the site: http://www.mikevsnet.be/?page_id=3

thx

Harshad August 18, 2009 at 6:28 pm

It’ll not remove comment box from your blog. It just removes no. of comments displayed on home page.
However, you can remove entire comments section by deleting comments.php file.

Mike August 18, 2009 at 8:24 pm

Thx Harshad ! It’s very clear now!

Harshad August 18, 2009 at 8:30 pm

You’re welcome bro. :)

Ryan October 5, 2009 at 10:18 am

For me having comment link on index is not a good scenery because the appearance doesn’t blend with my customized Thesis, was planning to remove it in the future but fortunately landed to this page while searching tricks & tips for Thesis theme that I just installed to my blog 2 days a go , I didn’t think twice but immediately follow your trick, I really didn’t expect the solution could be this easy. Thanks buddy!

Rajesh Kanuri @ TechCats November 14, 2009 at 3:50 pm

Thanks for the info dude.. ..

Code Hunter - Web Hosting Coupons April 3, 2010 at 11:49 am

Thanks for the tips.. I working on my thesis theme customization..

David April 7, 2010 at 6:16 am

If people copy and paste the hook as you have it, it may not work because of smart quotes.

Replacing the “smart” apostrophes you have with straight apostrophes may help some.

Anonymous September 1, 2010 at 3:24 pm

Thanks alot for sharing this. Thesis can be a bit overwhelming even for a developer who’s just starting working with the theme.

I appreciate it.

Comments on this entry are closed.

blog comments powered by Disqus

Previous post:

Next post: