Title: Fatal error get_header
Last modified: August 19, 2016

---

# Fatal error get_header

 *  [mixi](https://wordpress.org/support/users/mixi/)
 * (@mixi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header/)
 * Hi
    I have made a child theme and I am trying to make a separate page with another
   loop.
 * I made a file called blog.php in my child theme folder but when I link to that
   file from the nav I get the message: Fatal error: Call to undefined function 
   get_header() in /wp-content/themes/cleanr-child/blog.php
 * What am I doing wrong? I guess I lack knowledge about working with child themes.
   But I can’t find any relevant information.
    I got the same error when putting
   the file blog.php in the theme folder.
 * Why does this not work?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header/#post-1408044)
 * Is this new file a custom page template?
 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header/#post-1408383)
 * Hi,
 * Check with your uploaded theme and it must be inside the wp-contents/themes folder
   in order to work with the theme.
 * It seems that in this case theme is uploaded in the root folder. Please move 
   theme inside the theme directory of wordpress. Once you move theme to wordpress
   theme directory it will resolve.
 * Thanks,
 * Shane G.

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

The topic ‘Fatal error get_header’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-get_header/#post-1408383)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
