How to use a Fallback Image and set Default Post Thumbnail in WordPress
Setting default post thumbnails in WordPress themes is actually pretty simple. All you need to do is use the built-in WordPress methods to see if a thumbnail exists and if it doesn’t simply use a default image.