WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. warringtonscott
    Member
    Posted 9 months 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 6 months ago #

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

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

  3. susantau
    Member
    Posted 5 months 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 5 months ago #

    p.s. i am using wordpress 3.8.1

Reply

You must log in to post.

About this Plugin

About this Topic