Skip to content

Instantly share code, notes, and snippets.

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 lmartins/184bbb9126c40608a5c5 to your computer and use it in GitHub Desktop.
Save lmartins/184bbb9126c40608a5c5 to your computer and use it in GitHub Desktop.
add_action( 'genesis_after_post', 'reposition_jetpack_sharing_buttons' );
/**
* @author Brad Dalton - WP Sites
* @example http://wp.me/p1lTu0-95n
*/
function reposition_jetpack_sharing_buttons(){
remove_filter( 'the_excerpt', 'sharing_display', 19 );
remove_filter( 'the_content', 'sharing_display', 19 );
if ( function_exists( 'sharing_display' ) ) {
echo sharing_display();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment