Title: Removing Header and Sidebars
Last modified: August 19, 2016

---

# Removing Header and Sidebars

 *  [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/)
 * First off, let me explain what I’m trying to do:
 * 1.) I’m incorporating WordPress into my HTML Based site, and putting my WordPress
   Blog on the Front Page of the site using an In-Line Frame.
 * However, I do not want any scroll bars and ect, also I do not want the Header
   or Side Bar to be visible since I want it to look like it was part of the site
   and not a Frame.
 * So, my questions are:
 * 1.) How can I remove the header or make it invisble
    2.) How can I remove the
   sidebars or make it invisble 3.) How can I remove the footer or make it invisble
   4.) How can I edit the site to only be a max of 480 px wide?
 * Would this require me making a whole new theme from scratch?
 * Here is where the Blog is located:
 * [http://www.blog.fremontrossfootball.com](http://www.blog.fremontrossfootball.com)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165179)
 * Hi there
 * Is this what you looking to do? [http://wordpressreloaded.com/wpbeta/](http://wordpressreloaded.com/wpbeta/)
 * If so you need to edit your index.php in the theme and remove the call for sidebar
   and footer.
 * > <?php get_sidebar(); ?>
   > <?php get_footer(); ?>
 * Then go to the header.php and close of the section that starts with
    <div id=”
   header” role=”banner”> – your code will then look like this:
 *     ```
       <!--<div id="header" role="banner">
       	<div id="headerimg">
       		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
       		<div class="description"><?php bloginfo('description'); ?></div>
       	</div>
       </div>-->
       ```
   
 * As you can see in the example of url above, the test area is 450 – you will need
   to play around with the stylesheet to adjust the margins and so on.
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165181)
 * Yep, that worked great!
 * I know I’ll have more questions in a few, but so far, so good.
 * As you can tell, I’m not great with any coding and ect, but I didn’t know if 
   I removed the php_get_sidebar that if it would screw it up or not.
 * As for the Header, I would have never guessed that.
 *  [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165183)
 * Cool, glad that helped 🙂
    Good luck.
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165197)
 * Not sure if I’ve seen this before, but these should be my final questions.
 * 1.) I want to be able to limit how much is of the Blog is shown before you have
   to click on the Perma Link to get the rest of the story, so how do I do that?
 * 2.) If #1 is possible, is there a way I can limit the total amount of stories
   listed before a “new” page is created, or a “next” button?
 * 3.) If you look on the site right now, there is no wheres for anyone to subscribe
   to the Blog, so what would I have to do or install for people to be able to click
   to subscribe or follow, or log in to post comments. I have several people that
   will be writing posts, but I know I can add them manually, but I want to be able
   to have a small community of already known Commentators, when writing a comment.
 * 4.) Last of all, I want to put a Search Function at the very top, right before
   the Post Content.
 * After all of this, I should be well on my way to a happy blogosphere! 😀
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165198)
 * [http://blog.fremontrossfootball.com/](http://blog.fremontrossfootball.com/)
 * Forgot the Link
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165220)
 * On another note, the Search Feature isn’t that high of a priority.
 *  [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165231)
 * Sure can do.
 * For #1 use [Post teaser plugin](http://wordpress.org/extend/plugins/post-teaser/)
 * #2 go to admin>>settings>>reading where it says Blog pages show at most posts–
   fill in the blank with the number of posts.
 * #3 use the [side bar login plugin](http://wordpress.org/extend/plugins/sidebar-login/)–
   also consider the subscribe to comments and getting a feedburner account for 
   the “followers” part.
 * #4 will depend on what kind of search facility you want. Site search or a google
   search bar?
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165237)
 * ZGani,
 * You’ve been a great help.
 * For #3, do I have to have a sidebar for the Side Bar Login Plugin to work? I’ve
   installed the Plugin, edited the redirect links, but It’s not showing up…
 *  [Brian Harris](https://wordpress.org/support/users/zgani/)
 * (@zgani)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165294)
 * Ah sorry I overlooked that part, yes it would require the sidebar to be present.
   What you need is an on-page login – you might wana take a look at this [http://danillonunes.net/en/wordpress/login-box/](http://danillonunes.net/en/wordpress/login-box/)
   and see if it will do the job for you.
 * I think am gona work on a hack to have the sidebar login on a page, lets see.
 * Anyways am off for now, talk in a few hours.
 *  Thread Starter [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * (@gohootergo)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165309)
 * The more I think about it, the easier it would be for me just to include Links
   to the Register and Login Page, and then customize my Login Page instead.
 * I’ve got the Post Teaser installed, however I tried to go through the CSS to 
   edit the font, but I never seen where I could edit the font style into Tahoma
   or Veranda.
 * I was considering putting in a search form for WordPress, but I haven’t ruled
   out a Site Wide Search Function, such as the one from freefind.com

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Removing Header and Sidebars’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 2 participants
 * Last reply from: [gohootergo](https://wordpress.org/support/users/gohootergo/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/removing-header-and-sidebars/#post-1165309)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
