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.

RELATED ARTICLES

  • Read Hiding sticky header on scroll down

    Quick tip for hiding your stick header on scroll down.

    December 24, 2022

  • Read Using Avada Elements in the Block Editor

    Using Avada elements in the block editor to optimize tips and tricks.

    October 29, 2022

  • Read Remove dots under a required form label

    Ever been working on an Avada form, set the field to required, and then you start seeing spots? No, you're not seeing things.

    September 5, 2022

  • Read Remove RankMath Annoyance

    Remove RankMath Annoyance

    If you are a user of RankMath, I suspect you have encountered the annoying notification when you delete an item that is prompting you to set a redirect after you have deleted content. In and of itself, it is actually quite useful, but it doesn’t go away if you close […]

    September 3, 2022

  • Read List of Links

    List of Links

    I am working on a new project and recently discovered some great CSS features --- text-underline-position and text-decoration-thickness.

    August 21, 2022

  • Read Border between columns

    Border between columns

    Since Avada currently does not have border settings for small and medium screens, this was our workaround

    August 16, 2022