• Resolved kcwagi

    (@kcwagi)


    Question: How can I disable the header image on the page that returns seach results?

    Background: On other pages and posts I have the option to choose with a button if the header image should appear – disabled the header image for all posts. If however the search function is used, the search results page does show the header image.

    Thanks a lot for your help!

Viewing 1 replies (of 1 total)
  • Thread Starter kcwagi

    (@kcwagi)

    All,

    Sorry for posting – found the solution myself by adopting some other proposal.

    1) Copy header.php into child theme folder
    2) Change line 158 in header.php to

    if ( ! empty( $header_image ) && is_front_page() ) : ?>

Viewing 1 replies (of 1 total)
  • The topic ‘How to diabale the header image on page with search results’ is closed to new replies.