Title: Getting a different header.php
Last modified: August 20, 2016

---

# Getting a different header.php

 *  [stefanluk](https://wordpress.org/support/users/stefanluk/)
 * (@stefanluk)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/getting-a-different-headerphp/)
 * Hi,
 * I’m trying to get a different header on my homepage. So far, I’ve made a new 
   header-home.php
 * On my homepage.php, which displays the homepage of my website, I changed the 
   get_header() to get_header(‘home’) but for some reason it doesnt get me the header-
   home.php
 * Does anyone know what I might have done wrong here?
 * Thanks

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/getting-a-different-headerphp/#post-3284063)
 * [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 * is homepage.php a custom page template for the static front page?
 *  [tomontoast](https://wordpress.org/support/users/tomontoast/)
 * (@tomontoast)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/getting-a-different-headerphp/#post-3284066)
 * This should work butI think you should rename homepage.php to home.php see [http://codex.wordpress.org/Template_Hierarchy](http://codex.wordpress.org/Template_Hierarchy)
 *  Thread Starter [stefanluk](https://wordpress.org/support/users/stefanluk/)
 * (@stefanluk)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/getting-a-different-headerphp/#post-3284070)
 * Homepage.php was indeed the page template for the static front page so renaming
   it to home.php fixed the problem.
 * Thanks a lot!

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

The topic ‘Getting a different header.php’ is closed to new replies.

## Tags

 * [get_header](https://wordpress.org/support/topic-tag/get_header/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [stefanluk](https://wordpress.org/support/users/stefanluk/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/getting-a-different-headerphp/#post-3284070)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
