How to add posts’ featured images to WordPress RSS feeds
The standard WordPress RSS-feeds don’t include posts featured image. Below code adds the medium-format thumbnail to each item in a RSS2 standards-compliant manner by inserting it as an enclosure. A more advanced & flexible approach would be to add support for the media RSS namespace, but the above suffices for the purpose I have in … Read more