thesis_comments_intro

Description

Can be used to replace the entire div.comments_intro which appears before the list of comments and before trackbacks on individual posts.

Example

// Remove the intro entirely
function remove_comments_intro($output) {
  $output = '';
  return $output;
}
add_filter('thesis_comments_intro', 'remove_comments_intro');

// Replace the intro with custom output
function replace_comments_intro($output) {
  $output = '<div class="comments_intro">';
  $output .= '<p><a href="#respond" rel="nofollow">Add a Comment</a></p>';
  $output .= '</div>' . "\n";
  return $output;
}
add_filter('thesis_comments_intro', 'replace_comments_intro');

History

  • This filter was added in version 1.5.