This code enables you to:
- Display unique header images on any post or page. When no image set, a fallback image is displayed.
- Set a default image to be displayed for all non single posts and pages when non set.
- Set a different header image using a template for any blog listings page, including archive, author, blog, category, search, and tag pages.
All you need to do is copy and paste the code into your theme.
Most solutions i’ve seen and many already published on this site, don’t enable you to display any widget and your site title & description over your image as seen in the following image:
Here’s the code included in a fresh copy of the Genesis Sample child theme by StudioPress.