Removing Header Image from Comic Pages
-
Hey guys, so I’m trying to remove the header image from the page where my comic will be posted. Here’s the website where I’ll be hosting my comic:
https://www.dragonstar-blog.com/?page_id=34I’d like to have my “Read” page look the same as the “About” page, without the header image. To do it for the “About page, I put this line of code in the header.php-
<?php if (!is_page( array( 34, 43, )) ){ ?>
-before where the header image code was. I want to add a line that will also make this apply whenever the current page is a comic. Something similar to this I think:
<?php if ($post->post_type !== 'comic')
I’m EXTREMELY new to WordPress (2 or 3 days) so there’s a lot I don’t know how to do. Is there a way to tag on a line like so to the end of what I put in the header.php that would apply the same effect to comic pages as to my About page?
Thanks in advance.
- The topic ‘Removing Header Image from Comic Pages’ is closed to new replies.