Title: RSS Feed
Last modified: August 30, 2016

---

# RSS Feed

 *  Resolved [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/)
 * My Featured Image is not showing in my RSS feed. How can I get it to show? [http://lewislanedesigns/feed](http://lewislanedesigns/feed)
 * [https://wordpress.org/plugins/external-featured-image/](https://wordpress.org/plugins/external-featured-image/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625431)
 * Hi! If you [take a look at WPBeginner’s tutorial](http://www.wpbeginner.com/wp-tutorials/how-to-add-post-thumbnail-to-your-wordpress-rss-feeds/),
   you’ll see that you can easily add the featured image as follows:
 *     ```
       function rss_post_thumbnail( $content ) {
         global $post;
         if ( has_post_thumbnail( $post->ID ) ) {
           $content = '<p>' . get_the_post_thumbnail( $post->ID ) . '</p>';
           $content .= get_the_content();
         }
         return $content;
       }
       add_filter( 'the_excerpt_rss', 'rss_post_thumbnail' );
       add_filter( 'the_content_feed', 'rss_post_thumbnail' );
       ```
   
 * As you may know, Nelio External Featured Images only works if your theme uses
   either `get_the_post_thumbnail` or `the_post_thumbnail`. Apparently, this is 
   the case in the RSS feed. Then, why does this not work?
 * Our plugin prints the following image tag:
 *     ```
       <img src="transparent.gif"
         style="background:url( http://domain.com/external-image.jpg )" />
       ```
   
 * (it’s not exactly _that_ tag, but it’s pretty close).
 * In order to overcome this issue, we need to use a slightly different image tag:
 *     ```
       <img src="http://domain.com/external-image.jpg" />
       ```
   
 * where the image’s URL is placed in the `src` attribute.
 * **TL;DR**
 * If you want the image to work properly on RSS, use the following solution:
 *     ```
       function rss_post_thumbnail( $content ) {
         global $post;
         if ( function_exists( 'uses_nelioefi' ) &&
             uses_nelioefi( $post->ID ) ) {
           $img = nelioefi_get_thumbnail_src( $post->ID );
           $content = '<p><img src="' . esc_attr( $img ) . '" /></p>';
           $content .= get_the_content();
         } else if ( has_post_thumbnail( $post->ID ) ) {
           $content = '<p>' . get_the_post_thumbnail( $post->ID ) . '</p>';
           $content .= get_the_content();
         }
         return $content;
       }
       add_filter( 'the_excerpt_rss', 'rss_post_thumbnail' );
       add_filter( 'the_content_feed', 'rss_post_thumbnail' );
       ```
   
 * I hope this helps!
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625446)
 * I entered that code into the function.php and still no images showing
 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625447)
 * Can you please share the link to your blog?
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625450)
 * [http://lewislanedesigns.com](http://lewislanedesigns.com)
 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625451)
 * Is any of the “recent posts” (i.e. the ones that appear in the RSS) using Nelio
   EFI?
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625453)
 * Yes they all are because I have been housing my images on flickr
 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625455)
 * I see you’re using version 1.3.x of our plugin, which (unfortunately) had quite
   a few bugs.
 * Please, try using the stable release 1.2.0. It’s much more reliable (even though
   it has some limitations).
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625457)
 * is there a easy way to roll back to that version?
 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625458)
 * Yes, simply deactivate and uninstall your current version and install the plugin
   again.
 * There should be no problems, but I always recommend to backup your WordPress 
   before installing new/updating plugins.
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625459)
 * Ok I did that and still not seeing the images
 *  Plugin Author [David Aguilera](https://wordpress.org/support/users/davilera/)
 * (@davilera)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625463)
 * Maybe you’re behind a cache? It’s pretty strange.
 * Anyway, try to tweak the previous code and see if you can modify your RSS file
   somehow (not necessarily using an image). For instance:
 *     ```
       function rss_post_thumbnail( $content ) {
         return 'Testing...';
       }
       add_filter( 'the_excerpt_rss', 'rss_post_thumbnail' );
       add_filter( 'the_content_feed', 'rss_post_thumbnail' );
       ```
   
 * WARNING: all posts in your RSS should have the same content now (_“Testing…”_).
 * If all posts have the same content, then the previous code for inserting featured
   images should work. If this latter change didn’t work, then the problem lies 
   somewhere else.
 *  Thread Starter [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * (@nickilewis65)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625470)
 * Not sure I put it in right place cause it did nothing

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘RSS Feed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-featured-image_947a5f.svg)
 * [Nelio External Featured Image (discontinued) - Available in Nelio Content](https://wordpress.org/plugins/external-featured-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-featured-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-featured-image/)
 * [Active Topics](https://wordpress.org/support/plugin/external-featured-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-featured-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-featured-image/reviews/)

## Tags

 * [rss-feed](https://wordpress.org/support/topic-tag/rss-feed/)

 * 12 replies
 * 2 participants
 * Last reply from: [nickilewis65](https://wordpress.org/support/users/nickilewis65/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/rss-feed-185/#post-6625470)
 * Status: resolved