Add featured images to RSS feed

We can add featured image to rss feed. Even we can add it to custom post type rss feed also. Like

http://mywebsite.com/feed/
http://mywebsite.com/feed/?post_type=product

Just need to add this code to functions.php file.

This is customize code, because I want to show this type of post image and this

Leave a Reply

Your email address will not be published. Required fields are marked *