WordPress: How to Remove the Header from a Theme?

Sometimes you might find that you need to remove the header (top banner) portion from a WordPress theme. It may be for a certain look or even to include your own coded header.
To take that top portion out of your theme is actually pretty easy…and you can do so without deleting the code.

01– Open your theme’s file “header.php

02– Locate this piece of code in your “header.php”  file.

<img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />

03– Now to disable it, just comment that whole section out.

It should look like this:

<!–<img src=”<?php header_image(); ?>” width=”<?php echo HEADER_IMAGE_WIDTH; ?>” height=”<?php echo HEADER_IMAGE_HEIGHT; ?>” alt=”” />/>–>

04-that’s it!, dont forget to SAVE and reupload

 
 

 

Related Posts Plugin for WordPress, Blogger...