How to show file type of featured image in post on single.php?
Featured image type is: “.jpg”
I can get mime-type, like “image/jpeg”.
It could be also some check of image mime-type first, for example if image mime-type is “image/jpeg” then echo “.jpg” if it is “image/gif” echo “.gif”.
Read more here: How to show file type of featured image?