Turning this option on will add your featured post images to your WordPress RSS feeds. This will allow you to create a custom data feed within Klaviyo, for your blog posts and then include those blog posts into your flows and campaigns.
How to set up a campaign to automatically pull your latest posts
- Turn on the “Add images to WordPress RSS feeds” option.
![](https://www.madebytribe.com/wp-content/uploads/2023/03/012-add-images-RSS.png)
2. Head over to https://www.klaviyo.com/feeds and click the “Add Web Feed” button:
![](https://www.madebytribe.com/wp-content/uploads/2023/03/013-add-webfeed.png)
3. Create a name, select your content type as “XML” and fill your feed URL. It should be “https://www.yourdomain.com/feed”.
![](https://www.madebytribe.com/wp-content/uploads/2023/03/014-data-feeds-new.png)
4. Create a new campaign and open the email content editor.
5. Select the data feed you just created to use in the email
![](https://www.madebytribe.com/wp-content/uploads/2023/03/015-test-web-feed.png)
![](https://www.madebytribe.com/wp-content/uploads/2023/03/016-data-feed-1.png)
6. Add a new “Table” block to your email
![](https://www.madebytribe.com/wp-content/uploads/2023/03/017-table-block.png)
7. Edit your table block and make sure you only have 2 columns
![](https://www.madebytribe.com/wp-content/uploads/2023/03/018-edit-table-block.png)
8. Click the “Rows” tab, then the “Dynamic” tab, then select the “Data Source” tab.
![](https://www.madebytribe.com/wp-content/uploads/2023/03/019-table-block-rows.png)
- Enter the following into the “Row Collection” field:
- Enter the following into the “Row Collection” field:
feeds.**NAME_OF_YOUR_FEED_GOES_HERE**.rss.channel.item|slice:"3"
11. Enter the following into the “Row Alias” field: item
12. Click the “Column 1” tab, then click the “Source” button and add the following:
<img src="{{ item.image }}" />
13. Click the “Column 2” tab and click the “Source” button. Add the following:
<h2>{{ item.title }}</h2> <br /> <a href="{{ item.link }}">View Post</a>
- Save your content and you’re done! The email will now pull posts from your WordPress post feed.
![](https://www.madebytribe.com/wp-content/uploads/2023/03/020-save-content.png)