in Crafts

Hide the Comment-Reply link in Drupal 7

Often times flat comments are preferred over nested ones, which makes Drupal’s default “reply to comment”-links pretty useless, if not confusing. To get rid of them just add this preprocess function to your theme’s template.php:

function MYTHEME_preprocess_comment(&$vars) {

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.