Skip to content

Instantly share code, notes, and snippets.

@jaredatch
Created March 5, 2014 21:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredatch/9376496 to your computer and use it in GitHub Desktop.
Save jaredatch/9376496 to your computer and use it in GitHub Desktop.
Customize comment heading
<?php
/**
* Custom comment heading
*
* @since 1.0.0
* @param string $title
* @return string
*/
function ja_comment_heading( $title ) {
return '<h3><strong>' . get_comments_number() . ' Responses to</strong> ' . get_the_title() . '</h3>';
}
add_filter( 'genesis_title_comments', 'ja_comment_heading' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment