Skip to content

Instantly share code, notes, and snippets.

@braddalton
Created June 19, 2014 04:15
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 braddalton/6db753679867f6c6fcd0 to your computer and use it in GitHub Desktop.
Save braddalton/6db753679867f6c6fcd0 to your computer and use it in GitHub Desktop.
add_action ( 'genesis_after_comment_form', 'text_after_open_comment_form' );
/**
* @author Brad Dalton
* @example http://wpsites.net/
* @copyright 2014 WP Sites
*/
function text_after_open_comment_form() {
if ( is_singular('post') && comments_open() ) {
echo '<div class="after-open-comments">Your Text</div>';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment