Archived topic
Two Different Headers Content
3 replies · Started by Nat on February 18, 2016
Viewing posts 1–4 of 4
Hey Tom,
I added HTML codes on Before Header Content to show this on Home page...
https://i.imgsafe.org/b28b813.jpg
But...
For all other pages and POSTS, I don't want to show that. I just want to remove that header and have a simple image there. Is that possible?
Thanks,
Nat
Hi Nat,
You can use conditionals for that:
<?php if ( is_front_page() ) : ?>
Your video code in here
<?php else : ?>
Whatever you want for all other pages in here
<?php endif; ?>
Then choose "Execute PHP" and you should be good to go :)
Thank you Tom. That worked! I really appreciate your time!
You're welcome :)
This archived topic is closed to new replies.
