This code enables you to add a image to your RSS feed using the WordPress customizer. You can set a default image from your child themes images folder and then change the image using the customizer.
You can also link to image anywhere you like and even use custom links for each post simply by changing the value for the $link
variable in the code.
$link = esc_url( 'http://example.com/');
Or adding your URL to a custom field on any Edit Post screen
$link = esc_url( genesis_get_custom_field( 'rss_image') );
To style or position your image in your RSS feed, use the inline CSS included in the code as a guide.
Here’s the code ( fully supported ) for logged in members:
Was This Tutorial Helpful?