Cannot move share buttons
-
Hi,
I tried to use the instructions here to move my Jetpack social sharing buttons.Adding them in the position I wanted worked, but they aren’t being removed from their default location.
This is the code I added to functions.php that isn’t removing them properly:
function jptweak_remove_share() { remove_filter('the_content', 'sharing_display', 19); remove_filter('the_excerpt', 'sharing_display', 19); if (class_exists('Jetpack_Likes')) { remove_filter('the_content', array(Jetpack_Likes::init(), 'post_likes'), 30, 1); } } add_action('loop_start', 'jptweak_remove_share');
I noticed the instructions are from 2013 – has something changed?
Thanks in advance for your help
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Cannot move share buttons’ is closed to new replies.