Show Post Thumbnails in RSS Feed – WordPress

Categories: Blogging|Tags: , , , , |

Show Post Thumbnails in RSS Feed - WordPress: If you wish to show post thumbnail images in your blog’s RSS feed, the following code snippet for WordPress can be useful. Place it in your functions.php file: // show post thumbnails in feeds function diw_post_thumbnail_feeds($content) { global $post; if(has_post_thumbnail($post->ID)) { $content = '<div>' . get_the_post_thumbnail($post->ID) .

Go to Top