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...

About Michael Bohatch - SimpleInbound

Michael Bohatch has been involved with SEO and Inbound Marketing since its inception. Michael provides professional services that combine his experience in Web Analytics, SEM, SEO and Inbound Marketing for a comprehensive strategic approach to web optimization. SimpleInbound.com is an advice blog where he documents some of his findings and advises others on industry updates.
This entry was posted in Wordpress and tagged , . Bookmark the permalink.
If you would like to stay current on our Inbound Marketing Techniques, make sure to:
Subscribe to the RSS Feed!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>