0

I looked as best I could through the database, and couldn't find anything quite right. The question was answered some years ago, but the code has changed mightily since then, and the solution no longer works...or maybe it's operator failure. The closest I could find was Toscho's answer here:

How to remove header images from all pages except the home page? skeleton theme

but that code doesn't quite line up, either. My site, such as it is, is www.woodlandcomm.com, and I'm using the latest rev of the 2011 Theme. If it helps I'm happy to post the code the header currently is using...I do have a child theme set up, but I don't know much about coding at all. I appreciate any hand holding...and thank you once again.

  • In your current format, your question will likely not get the best answers. Please rework your question after reading How to Ask. Here are some additional hints collected to provide a good question that will attract good answers. Please take this as the hand holding you asked for. Progress can be made, but the question needs details, details, details. – kaiser Mar 3 '14 at 22:22
  • Kaiser, thanks for the feedback. I'll try and reframe the question. Funny that "the additional hints" section says brevity is rewarded, but I need more details...I'll try and figure a way to be brief and detailed. – Mark Mar 4 '14 at 13:03
  • Start with "I'm happy to post the code the header currently is using" and the code that overrides (parts of?) this in your child theme. We would be happy to see that. – kaiser Mar 4 '14 at 13:27
  • Kaiser, thanks for all the advice. The next time I post, and I'm pretty sure there will be a next time, I'll post a more accurate and complete question. In the meantime, Galen's answer seems to do the trick! – Mark Mar 4 '14 at 19:36
  • Mark, then please mark it as solution by clicking the check mark right below the voting arrows on his answer. Thanks. – kaiser Mar 4 '14 at 19:50
0

You could wrap the header image code in a conditional statement...

<?php if (is_front_page()) : ?>
  <!-- header image code -->
<?php endif; ?>

This will tell WordPress to only display the header image on the home page.

  • 1
    Galen, this seems to work perfectly. Thanks so much. – Mark Mar 4 '14 at 19:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.