Recent Posts with Excerpts
[resolved] Remove social button from excerpt (4 posts)

  1. warringtonscott
    Posted 2 years ago #

    I'm using Jetpack social buttons at the end of posts which I want, but these feature on and dominate the excerpt posts - through this plugin - on my front page.
    Is there a way to disable these, through this plugin or otherwise?
    I have tried adding code to functions.php but this seems to have no effect.
    Look and see: http://dougiescott.com/


  2. Stephanie Leary
    Plugin Author

    Posted 2 years ago #

    Try adding this to your theme's functions.php file:

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

  3. susantau
    Posted 2 years ago #

    Hi, I have a very similar need... I just installed Recent Posts with Excerpts and love how it pulls the most recent post excerpt into my home page sidebar, but also pulls all the Simple Share icons that display on the the post page into the excerpt too. I tried adding the line that you advised warringtonscott to add into the functions.php file, but that had no effect. can you please suggest a way to keep these share icons out of the excerpt? thanks! susan

  4. susantau
    Posted 2 years ago #

    p.s. i am using wordpress 3.8.1

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Recent Posts with Excerpts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic