One header image on the home page but a different header on other pages

This front page file includes PHP code which pulls a header image from the child themes images folder.

The header image only displays on the front page.

The image you upload under the Appearance menu using the Custom Header function displays on all other headers.

This code is written and tested on the Executive Pro child theme by StudioPress.

The code will also work in other child themes using Genesis.

This post answers this forum question:

I want to have one header image on the home page but a different header image on the other pages – for example on the home page I would have the company logo image and on the other pages have the particular agent header image. I am hoping this can be done. I am using Executive Pro Theme.

Join 5000+ Followers

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