• Resolved lg5050

    (@lg5050)


    The RSS feed images are going through email and I’m trying to find a way to shorten up the text. I have looked in the settings and couldn’t find anything that does this. Can I make the text similar to the old rss feed we use to use. Here are two screen shots of what I’m talking about. https://prntscr.com/gf6gqa and https://prntscr.com/gf6gxa. If possible I would like it to be like the old image text is setup. Please let me know if that is a option to do it or is there a other way to shorten up the text.

    Thanks, lg5050

    • This topic was modified 7 years, 3 months ago by lg5050.

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

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

    (@littlerchicken)

    On the plugin settings page, the number of words for the RSS excerpt is the “Excerpt Length” setting–the default number of words is 75. The excerpt may end up being a bit longer, as the plugin does attempt to round up to the nearest complete sentence, if needed. If you reduce this number, it should make your excerpt shorter, but it will still attempt to ensure that the excerpt ends in a complete sentence.

    If you want to revert the excerpt text to WordPress’ default behavior, this code should help:

    
    add_filter( 'send_images_rss_trim_excerpt', 'prefix_revert_excerpt', 10, 2 );
    function prefix_revert_excerpt( $text, $raw_text ) {
    	return wp_trim_excerpt( get_the_excerpt() );
    }
    

    Please practice safe coding, make sure your files are backed up, etc. This will not remove the “Continue reading…” text after the excerpt. HTH

    Thread Starter lg5050

    (@lg5050)

    That fixed the problem. Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Email image not working correctly’ is closed to new replies.