Title: fatal error:undefined function get_header()
Last modified: August 22, 2016

---

# fatal error:undefined function get_header()

 *  [ashishrijal](https://wordpress.org/support/users/ashishrijal/)
 * (@ashishrijal)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-errorundefined-function-get_header/)
 * i am new to wordpress.i had to convert my static site to wordpress site.everything
   was working fine i had my index.php done,i created my navigation menu.here is
   the plot twist i had to link those menus to other pages like contactus menu to
   contactus.php,when i try to do that i had put get_header() function on top of
   contactus.php page,when that contactus.php page is loaded it gives the error 
   fatal errror:cal to undefined function get_header(). . .. 🙁

The topic ‘fatal error:undefined function get_header()’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [ashishrijal](https://wordpress.org/support/users/ashishrijal/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/fatal-errorundefined-function-get_header/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
