• Resolved Keirwatson

    (@keirwatson)


    I have just noticed that some of the FP excerpts on my blog have started including some unwanted text appended to the end, typically: “Share this:TwitterFacebookPrintTelegramPinterestCustomize…”

    This did not use to happen, although I can’t say when it started (sometime in the last year would be my guess)

    It seems to be happen to posts that have a short excerpts (shorter than the length set in FP) It appears FP is looking for additional text to fulfil its quota and for some reason, is reaching for the Jetpack share meta at the bottom of the post! Strangely it does not do this on all posts with short excerpts.

    I have tried deactivating my cache and minification plugin (SG Optimizer) but this did not cure it.

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tajam

    (@tajam)

    Jetpack added share links after the post content and excerpt. If you want to disable it in excerpt, you can use this code:

    add_action( 'wp', function() {
    	remove_filter( 'the_excerpt', 'sharing_display', 19 );
    } );
    Thread Starter Keirwatson

    (@keirwatson)

    It worked! Thank you so much Tajam. I Love this plugin!

    BTW Do you think you will add this exclusion in a future update? Seems like it should be default behaviour.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Odd text added to short excerpts in FP’ is closed to new replies.