Different Header Graphics Per Page
-
Hello – I recently customized a WordPress site here:
https://www.innerloopluxury.com
I have edited a few WordPress templates and designed several other websites, but am stuck on a couple of issues and I am hoping that someone here can help me. I have a feeling it’s a piece of PHP that I am missing – because most of it is working. I followed the conditional tags method which I found on this support forum. And as I mention – mostly – it works. However – on one page (lifestyle) it’s not working.
Here is my code:
<?php if(is_page('walkable-wonderland')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_bm.jpg" />'; } if(is_page('home')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_bg.jpg" />'; } if(is_page('contact')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_c.jpg" />'; } if(is_page('neighborhood-nirvana')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_bp.jpg" />'; } if(is_page('venue')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_v.jpg" />'; } if(is_404()){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_l.jpg" />'; } if(is_page('lifestyle')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_l.jpg" />'; } if(is_page('lifestyle')){ echo '<img src="https://www.innerloopluxury.com/wp-content/themes/dodo/images/header_l.jpg" />'; } ?>
I edited a free template and created the pages with their content, and the blog is to display on the Lifstyle link/page – but the header is not working there.
Any suggestions – ??
Thanks,
Kari
- The topic ‘Different Header Graphics Per Page’ is closed to new replies.