• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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:

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.