Skip to content

Instantly share code, notes, and snippets.

@wpspeak
Created September 20, 2013 20:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wpspeak/6643143 to your computer and use it in GitHub Desktop.
Save wpspeak/6643143 to your computer and use it in GitHub Desktop.
Add support for Greg’s Threaded Comment Numbering plugin in Genesis Framework
<?php
//* Add Support for Comment Numbering
add_action ('genesis_before_comment', 'afn_numbered_comments');
function afn_numbered_comments () {
if (function_exists('gtcn_comment_numbering'))
echo gtcn_comment_numbering($comment->comment_ID, $args);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment