WordPress.org

Forums

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

  1. artc1209
    Member
    Posted 2 years 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)?

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

  2. George Stephanis
    Code Monkey
    Plugin Author

    Posted 2 years 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

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic