Skip to content

Instantly share code, notes, and snippets.

@deeman
Created March 27, 2019 14:08
Show Gist options
  • Select an option

  • Save deeman/c8897a83d5d5074a21760d62ae8d4746 to your computer and use it in GitHub Desktop.

Select an option

Save deeman/c8897a83d5d5074a21760d62ae8d4746 to your computer and use it in GitHub Desktop.
Genesis Framework - Move Comments Below Comment Form
//* Move Comments Below Comment Form
add_action( 'genesis_before_comments' , 'move_comments_below_form' );
function move_comments_below_form()
{
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