function add_featured_image_url($output) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$output = wp_get_attachment_url( get_post_thumbnail_id( $post->ID ) ) . ' ' . $output;
}
return $output;
}
add_filter('the_excerpt_rss', 'add_featured_image_url');
add_filter('the_content_feed', 'add_featured_image_url');
Related Posts:
- Add Custom postmeta Fields to Custom Post Type RSS in wordpress
- Get all posts in RSS
- How to get SimplePie fetch_feed without stripping iframe code?
- Firefox is downloading the RSS feed
- Remove or Edit in Feeds
- Cannot get add_feed to work
- Should I provide RSS or Atom feeds?
- Multiple versions of RSS feed? One with full content, one with the excerpt
- Why does Simplepie return feed items in a wrong order?
- How to create additional full text RSS feeds
- Download an entire blog for offline reading / archival (without using RSS feed)
- RSS Subscriber count without using FeedBurner
- Custom RSS feed forces download
- Multiple category RSS feeds
- How to add category exclusion to rss feed
- How to flush feed? Or set timeout on feed so that it isn’t cached?
- Style RSS Feed for a human?
- How to get the last updated date of a post from a WP RSS feed?
- is it possible to get complete wordpress blog post in a rss feed?
- Disable RSS Feed
- Reducing image size in RSS only
- Changing title of wordpress RSS feed
- How to remove published date from RSS feed
- Add featured image to RSS feed through child theme functions.php file
- Disable only the main feed?
- Change the link URL in default RSS feeds
- Setting the language of RSS feed
- How to create a Full RSS feed (secret URL) for certain users, short for the rest [closed]
- WordPress RSS File Template
- WordPress Add [cdata] to title tag in rss feed
- A function to fetch blog content via rss feed
- placement of wp_error with fetch_feed
- Make RSS think posts are new?
- Remove tag on my RSS Feed
- Creating an RSS feed with all of the prior month’s posts
- RSS feed site image custom resolution
- image thumbnail in RSS Feed
- Remove a certain post type from appearing in all RSS feeds
- How can I get RSS feed for a custom page?
- How to add featured image or custom field to xml feed?
- How can I remove image from feed?
- Difference between the 4 Built in RSS Feeds?
- Tracking RSS subscribers in Google Analytics
- How to disable atom feed and only use RSS feed
- RSS feed of previous 24 hours posts?
- RSS feeds and wordpress?
- How to get more than 25 items via Simplepie RSS Feeds?
- How to remove RSS feeds from WordPress theme
- How do I Import an RSS feed as WordPress posts without duplicates?
- How to remove site link from each post in RSS feed / modify output of the_excerpt_rss()?
- RSS Feed Behaviour (Inc. Feedburner)
- How can I minimize the content of my RSS feed to fit more items in Feedburner’s 512k limit?
- Site Rss not seen by browser
- Changing RSS title link to link to feed instead of blog
- Two RSS feeds, different items limit?
- One reason for changing the GUID
- Remove specific page/post from feed
- How to Create RSS Feeds for categories in WordPress?
- Importing multiple RSS feed into WordPress and sorting them by date
- Sub-Sub-Blogs — creating and importing content into a custom sub-type
- Delaying One RSS Feed in WordPress but Not the Others?
- Custom RSS does not work for categories and tags
- How to add more than one RSS Feed Link for wordpress
- Non-UTF characters break RSS feed
- Help Me Choose RSS or XML-RPC
- How to remove the comments feed from WP 3.1.1?
- Unfamiliar query string in Google Search Console URL not found
- Grab YouTube Thumbnail AFTER Post?
- RSS Widget on theme
- How can I post Facebook fan page status updates to my WordPress blog?
- Inserting ads into wordpress default rss feeds
- Dynamically import posts from one wordpress site to another
- how improve website mainpage loading
- Add ![CDATA] to permalink rss
- how to display image from rss
- How fetch_feed() works?
- Creating an individual RSS feed for each site user
- RSS feed for the previous week’s posts
- Feeds not working on my wordpress site
- how to make function in RSS feed like it does in posts
- restricted rss feed
- Various WordPress Feeds for Same Blog
- How to set the cache for the built-in SimplePie feed parser?
- How often does the RSS widget get updates?
- Help needed to make my site as Aggregator
- WordPress Feed Error [closed]
- Set RSS feed update time
- Is fech_feed() use lots of server resourses?
- WordPress Dashboard Incoming Links Error
- Remove or truncate site rss in
- How do I get an RSS feed to work
- Extracting Channel Data from fetch_feed()
- How can I stop my WordPress database collecting transients such as RSS feeds in wp_options table?
- How to get recent posts from wordpress RSS feed
- RSS Feed Customization
- Images in an RSS feed
- RSS Feed Question about lastBuildDate
- Display WordPress RSS Feed Thumbnail
- When I Open RSS Feed of Subdomain it shows Main Domain feed
- how do I take rss output and put it in a directory for ftp in wordpress [closed]