Create Function-Thumbnail

Add this code for Function.php