I’d like to set up my Twenty Twelve theme to show the header image only on the homepage. Before updating to the latest version of the theme, I could sort this by replacing, in header.php, the following line:
if ( ! empty( $header_image ) ) : ?>
if ( ! empty( $header_image ) && is_home() ) : ?>
But this now removes the header from all pages.
Can anyone advise why this isn’t working? As far as I can see the conditional tag is being used as it should be.
Many thanks in advance,
- The topic ‘Twenty Twelve – header image on homepage only’ is closed to new replies.