Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    Thanks for letting us know. We’re aware of this problem with the custom sharing code. We’re looking into it, and I’ll let you know once I have some news.

    Thread Starter ilmattiapascal

    (@ilmattiapascal)

    ok thank you jeremy! i thought that other people would have asked the same question during these months, but probably no one but me was interested on changing the share buttons position in the way i would change them! 😉

    i ll wait for your solution! in this while i think i ll deactivate the sharing buttons because i can’t let them double like that 😉

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    We found the issue, and we updated the blog post accordingly: you will now need to use the following code to remove sharing buttons and Likes from the bottom of your posts:

    function jptweak_remove_share() {
        remove_filter( 'the_content', 'sharing_display',19 );
        remove_filter( 'the_excerpt', 'sharing_display',19 );
        remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 );
    }
    
    add_action( 'loop_start', 'jptweak_remove_share' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Share button position’ is closed to new replies.