Skip to content

Instantly share code, notes, and snippets.

@anandkumar
Created October 2, 2013 07:53
Show Gist options
  • Save anandkumar/6790354 to your computer and use it in GitHub Desktop.
Save anandkumar/6790354 to your computer and use it in GitHub Desktop.
Move Genesis Comments
/** Move Genesis Comments */
add_action( 'genesis_before_comments' , 'eo_move_comments' );
function eo_move_comments ()
{
if ( is_single() && have_comments() )
{
remove_action( 'genesis_comment_form', 'genesis_do_comment_form' );
add_action( 'genesis_comments', 'genesis_do_comment_form', 5 );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment