How To Remove a "Reply" Link In Drupal 7 Comments

30 Aug · by Tim Kamanin · 1 min read

In your _template.php_ file add the following code:

function themename_preprocess_comment(&$variables) {
  unset($variables['content']['links']['comment']['#links']['comment-reply']);
}

Don't forget to change _themename_ to your theme 's name. Now, everything should be working.

Comments