Hi, I want to display the header image on my HOME PAGE ONLY, so I edited the header.php and introduced the code <?php if( is_home() || is_front_page() ) : ?> before the ‘get header’ image command. It worked… but the header image is also appearing on the “blog” page. That’s the ONLY page beside the Home Page that the header image is showing. What code do I insert so I can I make sure the header image doesn’t show on the blog page?
The “blog” page is the one containing all my recent posts, the one assigned as the Posts page on the Customize > Static Front Page menu. And yes, my home page is a Custom Hope Page. My website is http://www.lastbroadcastcomic.com.
- The topic ‘Remove header image from Posts page’ is closed to new replies.