Support » Plugins » [Plugin: RSS Footer] Footer appearing twice – using latest verion

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you had spent about a second and a half looking over previous posts here, you’d have found this has been complained about many times before:
    http://wordpress.org/support/topic/295083

    And, yes, the author apparently does mind helping you – or anybody who reported the same bug. So don’t wait for a fix. I’d consider this plugin abandoned.

    The problem is the following: The plugin adds the RSS footer with two filters: the_content and the_excerpt_rss. This is fine for the full content in the feed, but not for the excerpt. The excerpt is generated getting the content (the_content filter runs, so the RSS footer is appended), stripping all HTML (including HTML in the footer), shortening it and running the excerpt filter (RSS footer is appended a second time). This is of course only a problem if you haven’t entered an excerpt manually.

    The fix is to change line 160 of the plugin from

    add_filter('the_content', 'embed_rssfooter');

    to

    add_filter('the_content_feed', 'embed_rssfooter');

    I believe this is due to a bug in older WP versions where the_content was called instead of the_content_feed. It should work now for WP 2.8+ or so.

    Worked like a charm – thanks Ammaletu!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: RSS Footer] Footer appearing twice – using latest verion’ is closed to new replies.