I'd like to remove the header image on all the pages except my "home"-page.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
header.php file and modify the following lines (probably around line 78-82):
<?php // Check to see if the header image has been removed $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?>
<?php // Check to see if the header image has been removed $header_image = get_header_image(); if ( ! empty( $header_image ) && is_front_page() ) : ?>
This worked for me.
if ( $header_image) :
if ( $header_image && is_front_page()) :
Remove the header image code from your category, post, single, etc files (leaving it in the index.php file).
If that is not of help, please explain the structure of your theme as well as post some code for additional help.