Title: header remove
Last modified: August 20, 2016

---

# header remove

 *  [ross6000](https://wordpress.org/support/users/ross6000/)
 * (@ross6000)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/header-remove/)
 * Hi, does anyone know how i can remove the header from all my pages so it is only
   on the front page? I’m using the twentyeleven theme..

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

 *  [Johnb81](https://wordpress.org/support/users/johnb81/)
 * (@johnb81)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/header-remove/#post-2886226)
 * Remove the line of code “<?php get_header(); ?>” from:
 * index.php
    page.php single.php archive.php author.php
 * etc
 * Alternatively, you can simply empty the file header.php.
 *  Thread Starter [ross6000](https://wordpress.org/support/users/ross6000/)
 * (@ross6000)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/header-remove/#post-2886228)
 * I want to keep it on my front page and just remove it from the other pages.. 
   is this possible?
 *  [Johnb81](https://wordpress.org/support/users/johnb81/)
 * (@johnb81)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/header-remove/#post-2886392)
 * Yes leave it in index.php then and remove it from all the others.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/header-remove/#post-2886394)
 * > Remove the line of code “<?php get_header(); ?>” from:
 * **don’t** do that – haeder.php contains the neccessary code for the beginning
   of any web page, such as DOCTYPE daclaration, meta, links etc.
 * > remove the header from all my pages so it is only on the front page
 * depending on what you refer to as ‘header’, edit header.php, and wrap those parts
   into a conditional statement, using `is_home()` or `is_front_page()` as conditional
   tags; [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 * also – **important **– when customising Twenty Eleven, start by creating a child
   theme to work with; [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)

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

The topic ‘header remove’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/header-remove/#post-2886394)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
