[SOLVED] use the header only on the posts page/home page and exclude all other pages
I'm using the posts page/home page as the front page of the site with a different landing page for all other pages on the site. I only want the header image to show up on the post page.
Reading>set to front page displays>your latest posts How do I exclude the header on all other pages? |
You could use something like this in place of %image and just change the page id to that of your home page.
HTML Code:
<?php if( is_page('341') ) { ?> |
I saw that in a few place but when the home page is set to Front Page Displays Latest Posts there is no Page ID.
|
Could I use: %home%
|
In that case you would use
<?php if( is_home() ) { ?> %image <?php } ?> |
PERFECT! Thank you!!!!
|
All times are GMT -6. The time now is 06:54 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.