Add Images to Default RSS Feed
-
I recently created a Twenty Eleven child theme which pulls and displays all the images attachments before the post title. It also checks the custom fields for any video embed code to display before the title and for any image urls to wrap around the images.
Now I’ve realized the RSS feed is all text and no images. I’ve tried several plugins which only display one unlinked image and haven’t had luck yet creating a custom feed.
In the default RSS feed, I’d like to pull all the image attachements, wrap them with any applicable link tags from the custom fields, and display embedded video from the custom field. Is there a way to achieve this? Any help would be much appreciated.
Here is the code I’m using to display posts – https://pastebin.com/wHbsp1FB
Thank you!
- The topic ‘Add Images to Default RSS Feed’ is closed to new replies.