• I want the header image to show up on the home page only. I think I need to edit this bit in the theme_header.php file:

    <?php $header_image = get_header_image(); ?>

    <?php if ( ! is_page() || is_home() || is_page() && ! has_post_thumbnail() ) { ?>
    <?php if ( ‘blank’ != get_theme_mod( ‘header_textcolor’ ) || ! empty( $header_image ) ) { ?>

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Organic Themes

    (@organicthemes)

    Hello,

    Change the following code from this:

    <?php if ( ! is_page() || is_home() || is_page() && ! has_post_thumbnail() ) { ?>

    To this:

    <?php if ( is_home() || is_home() && is_front_page() ) { ?>

    That should do the trick. Thanks!

    David

    Thread Starter blackessej

    (@blackessej)

    Thank you! Close! This worked:

    <?php if ( ! is_page() || is_home() || is_page() && is_front_page() ) { ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove headers from sub pages’ is closed to new replies.