Customize Comments Intro

Applies to Version(s): Thesis 1

This article refers to the {1 comment… read it below or add one} message on the single post page; see Change {0 Comments} Display if you’re looking to change the default comments link on the home page (and other multi-post listing pages).

Style Comments Intro

Place this code in custom.css:

/* Style Comments Intro */
.custom .comments_intro p {
  font-size: 1.818em;
}

/* Style Bracket */
.comments_intro p span.bracket {
  color: #CCCCCC;
}

/* Style "Add One" link */
.custom .comments_intro a {
 color: #2361A1;
 text-decoration: underline;
}

Remove Comments Intro

Place this code in custom_functions.php:

function remove_comments_intro($content) {
  $content = '';
  return $content;
}
add_filter('thesis_comments_intro', 'remove_comments_intro');

Replace Comments Intro with “Add a Comment” Link

Place this code in custom_functions.php:

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

Remove Brackets

Place this code in custom_functions.php:

remove_filter('thesis_comments_intro', 'default_skin_comments_intro');