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?

    If you enjoyed this post, please consider leaving a comment and subscribing to the RSS feed or subscribing via email to have future articles delivered to your feed reader or email inbox.

    { 15 comments… read them below or add one }

    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.

    Reply

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

    Reply

    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.

    Reply

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

    Reply

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

    Reply

    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.

    Reply

    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.

    Reply

    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…

    Reply

    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.

    Reply

    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

    Reply

    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.

    Reply

    Mike August 18, 2009 at 8:24 pm

    Thx Harshad ! It’s very clear now!

    Reply

    Harshad August 18, 2009 at 8:30 pm

    You’re welcome bro. :)

    Reply

    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!

    Reply

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

    Thanks for the info dude.. ..

    Reply

    Leave a Comment

    Previous post:

    Next post: