WordPress.org

Forums

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

  1. warringtonscott
    Member
    Posted 1 year 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/

    http://wordpress.org/plugins/recent-posts-with-excerpts/

  2. Stephanie Leary
    Member
    Plugin Author

    Posted 1 year ago #

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

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

  3. susantau
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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