Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Change 'genesis_html5_comment_callback' to 'gtcn_basic_callback' provided by Greg's Threaded Comment Numbering plugin for numbering commnets
add_filter( 'genesis_comment_list_args', 'sk_add_numbered_comments' );
function sk_add_numbered_comments( $defaults ) {
if ( function_exists( 'gtcn_basic_callback' ) ) {
$defaults['callback'] = genesis_html5() ? 'gtcn_basic_callback' : 'genesis_comment_callback';
}
return $defaults;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.