WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Take off Sharing buttons (2 posts)

  1. Amit Kvint
    Member
    Posted 1 year ago #

    Hi,

    I am using Sharing, and have add it to my footer with <?php echo sharing_display() ?>

    Now I would like to take off the buttons where by default they appear.

    Any suggestion ? Thanks

    Amit

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    Try adding the following function to a new plugin, or to your theme's functions.php file:

    function jptweak_remove_share() {
    	remove_filter( 'the_content', 'sharing_display',19 );
    	remove_filter( 'the_excerpt', 'sharing_display',19 );
    }
    add_action( 'loop_end', 'jptweak_remove_share' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.