Get featured image from post on RSS feed

I just found the right solution: function rss_post_thumbnail($content) { global $post; if(has_post_thumbnail($post->ID)) { $output=”<p>” . get_the_post_thumbnail($post->ID) . ‘</p>’; } return $output . $content; } add_filter(‘the_excerpt_rss’, ‘rss_post_thumbnail’, 20, 1); add_filter(‘the_content_feed’, ‘rss_post_thumbnail’, 20, 1);

Set featured image as hero image on each page

You need to look at how your theme is rendering the hero image. Then, before it does so, add an if block which checks for a featured image. If a featured image exists, replace the hero image with it. Your code will look something like this. if ( has_post_thumbnail() ) { // render hero image … Read more