Support » Plugin: Sharing buttons shortcode for Jetpack » duplicate row of share buttons

  • Resolved eddiebouncer

    (@eddiebouncer)


    Hi there,

    On a newly created page i add the [jpshare]-code for custom placement of the buttons, but i get a duplicated row of the buttons on the bottom of the page as well. (if i untick WP’s ‘show share buttons’, both are removed :/)

    I did read the other topics mentioned here, but how do i prevent the duplicate entry on this particular page?

    Thanks, Ed’

    Add.:
    – We used this share-plugin on the homepage to move the row of social-buttons succesfully. (with [jpshare] and the WP-option ‘show share buttons’ on)
    – i tried the jp-rm-sharing plugin, but doesn’t work accordingly.

    http://wordpress.org/plugins/jetpack-sharing-butttons-shortcode/

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

    (@jeherve)

    Jetpack Mechanic 🚀

    how do i prevent the duplicate entry on this particular page?

    You can follow the instructions in this tutorial to remove the original Jetpack sharing buttons:
    http://jetpack.me/2013/06/10/moving-sharing-icons/

    Let me know if it helps.

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Thanks,

    I saw that, but:
    1. where do i put the custom code in functions.php? (does it matter?)
    2. how do i insert the code in the area i want (regular text block? php plugin?)

    the jquery option feels less difficult to me but as Lebens says himself: “This is definitely a developer’s solution, so it might be tricky for you to get working.”

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    where do i put the custom code in functions.php? (does it matter?)

    At the end would be a good choice.

    how do i insert the code in the area i want (regular text block? php plugin?)

    You don’t need to deal with that part of the tutorial, since you’re already inserting the sharing buttons with my plugin.

    Thread Starter eddiebouncer

    (@eddiebouncer)

    Sorry, this doesn’t work either.

    I keep having double or nothing, any other suggestion we can try?

    Thanks again.

    this works in my case in functions.php from child:

    add_action( 'init', 'custom_init', 11 );
    function custom_init(){
    
        // if sharing_display() function does not exist, return
        if( ! function_exists( 'sharing_display' ) )
            return;
    
        // remove the callback sharing_display() for the 'the_content' filter.
        remove_filter( 'the_content', 'sharing_display', 19 );
    
    }

    source:
    http://genesissnippets.com/reposition-jetpack-sharing-links-in-genesis/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘duplicate row of share buttons’ is closed to new replies.