Twenty Twelve – header image on homepage only
-
Hi there.
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 ) ) : ?>
with
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,
Ed
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Twenty Twelve – header image on homepage only’ is closed to new replies.