By default, Avada does not include images in the RSS feed. This little bit of code in the function.php or your code snippet manager will take care of that.

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

Originally published on Aug. 12, 2022

Test Layout - The Becker
time-lapsed of street lightsNew Feature - Quick Tips

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.