Different Header Background Image On Any Page

This code enables you to:

  1. Display unique header images on any post or page. When no image set, a fallback image is displayed.
  2. Set a default image to be displayed for all non single posts and pages when non set.
  3. 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.

Demo Video

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:

different-header-image

Here’s the code included in a fresh copy of the Genesis Sample child theme by StudioPress.

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.