Blog

July 15, 2009
 

How to Remove Comments from Homepage of Thesis Theme?

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?