Ready to get started?Download WordPress


Jetpack by WordPress.com
[resolved] Disable Share buttons in excerpts? (2 posts)

  1. artc1209
    Posted 1 year ago #

    I’ve enabled the Jetpack Sharing tool and it’s working great.

    But there is one quirk: the share buttons are displayed when post excerpts are shown in a page. (They are, of course, shown when the entire post is displayed.)

    Is there a way to configure Share so that only posts carry the buttons?

    Or is this likely to be something that is invoked by my theme (Suffusion)?


  2. George Stephanis
    Automattic Lead Code Monkey
    Plugin Author

    Posted 1 year ago #

    remove_filter( 'the_excerpt', 'sharing_display', 19 );

    If you run that after init, it should take them off excerpts, but leave them on full posts.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic