Title: Problem with RSS thumbnail code
Last modified: August 20, 2016

---

# Problem with RSS thumbnail code

 *  Resolved [erikhgm](https://wordpress.org/support/users/erikhgm/)
 * (@erikhgm)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/)
 * I have tried the different codes there are out there to include a thumbnail in
   the RSS feed and they do insert the thumbnail in the feed but when I view a post
   with a thumbnail attached to it on my website, the post excerpt is showing up
   on the top of the page before the wrapper.
    Does anyone know why this is? Thanks
   Erik
 * // THIS INCLUDES THE THUMBNAIL IN OUR RSS FEED
    add_filter( ‘the_excerpt_rss’,‘
   voodoo_insertThumbnailRSS’ ); add_filter( ‘the_content_feed’, ‘voodoo_insertThumbnailRSS’);
   function voodoo_insertThumbnailRSS( $content ) {
 *  global $post;
 *  if ( has_post_thumbnail( $post->ID ) )
    $content = ” . get_the_post_thumbnail(
   $post->ID ) . ” . $content;
 *  return $content;
    }

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/?output_format=md)
[1](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/?output_format=md)
2

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/page/2/#post-2293595)
 * Code that I’ve used in themes to create meta description & keywords: [http://pastebin.com/sC4QN9ki](http://pastebin.com/sC4QN9ki)
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/page/2/#post-2293619)
 * Holy smokes [@esmi](https://wordpress.org/support/users/esmi/), that’s good stuff!
 *  Thread Starter [erikhgm](https://wordpress.org/support/users/erikhgm/)
 * (@erikhgm)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/page/2/#post-2293643)
 * However I guess nowadays the meta tags are’nt as important for seo traffic right?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/page/2/#post-2293645)
 * Meta description is still used by Google along with the initial content of your
   pages but for the most part keywords are ignored.

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/?output_format=md)
[1](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/?output_format=md)
2

The topic ‘Problem with RSS thumbnail code’ is closed to new replies.

## Tags

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

 * 19 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/problem-with-rss-thumbnail-code/page/2/#post-2293645)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
