Skip to content

Instantly share code, notes, and snippets.

@AnnaCrumina
Forked from shawarmaeater/gist:051340609cb712fdd7d1
Last active August 29, 2015 14:15
Show Gist options
  • Save AnnaCrumina/7dad89b2374a20100f98 to your computer and use it in GitHub Desktop.
Save AnnaCrumina/7dad89b2374a20100f98 to your computer and use it in GitHub Desktop.
add_action('init','crum_remove_post_share');
function crum_remove_post_share(){
remove_action('reactor_post_footer', 'reactor_share_post', 6);
}
add_action('reactor_post_footer', 'crumina_custom_post_share', 6);
function crumina_custom_post_share(){
if ( is_single() ) {
//enter your custom share code here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment