Add Image To RSS Feed Via The WordPress Customizer

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.

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?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.