https://sangkrit.net/how-to-display-thumbnails-in-recent-posts-widget-in-wordpress/
How To Display Thumbnails In Recent Posts Widget In WordPress ?