No Comments on my New Blog Please

My new blog, DailyTwitGoal does not need to have the comments area. If people want to comment, then @replying on Twitter would be more appropriate. I also do not want the comments there because I want the blog to look very clean.

I can do this and you can too if you are using the Thesis theme for WordPress.

Here is how I found an answer.

Click -> Appearance
Click -> Thesis Options

At the top of the page you will see these buttons:
Thesis Theme WordPress Buttons

I looked in the Thesis Forum and found the code I needed to do it.

This code will go in the custom_functions.php file.

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');

Previous post:

Next post: