Skip to content

Instantly share code, notes, and snippets.

@shawarmaeater
Created February 9, 2015 11:16
Show Gist options
  • Save shawarmaeater/051340609cb712fdd7d1 to your computer and use it in GitHub Desktop.
Save shawarmaeater/051340609cb712fdd7d1 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