Mailchimp has lots of great features for content creators. One feature I recently used was an RSS feed that passes content for specific categories rom specific categories to Mailchimp AND include the featured image in the RSS feed.

I accomplished this by including the featured image in the RSS feed by updating functions.php. Best practice is to always use a child-theme to add any customizations to functions.php.

I actually like to use the My Custom Functions Plugin to ensure my updates aren’t overwritten or stripped out if that file is ever updated.

Below is the PHP I added to include the WordPress Featured Image in the RSS Feed for Mailchimp.

function featuredtoRSS($content) {
global $post;
if ( has_post_thumbnail( $post->ID ) ){
$content = '<div>' . get_the_post_thumbnail( $post->ID, 'medium', array( 'style' => 'margin-bottom: 15px;' ) ) . '</div>' . $content;
return $content;

add_filter('the_excerpt_rss', 'featuredtoRSS');
add_filter('the_content_feed', 'featuredtoRSS');

If you need help integrating WordPress and Mailchimp – Contact Me