WordPress.org

Support

Support » Installation » [Resolved] Call to undefined function get_header()

[Resolved] Call to undefined function get_header()

  • amirk011

    @amirk011

    Hello, I’ve installed wordpress 2.6 version. It’s working fine. But whenever I change theme it gives the error “Fatal error: Call to undefined function get_header() in /home/paknewz/public_html/index.php on line 1”. It’s only working with default theme. Please me why issue is being faced by me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Samuel Wood (Otto)

    @otto42

    WordPress.org Tech Dude

    Are you putting your theme in the root or something? That’s not the right place to put it. It should be in it’s own directory in wp-content/themes.

    See http://codex.wordpress.org/Using_Themes

    amirk011

    @amirk011

    Ya I was doing the same mistake. Now I put it @ right place and i.e. default theme directory. Issue is fixed. Anyways, thanks for guiding me. 🙂

    Greetings! I had my theme working for weeks, having put it in its own directory and all. Then I changed the CSS and some navigation (pertaining to the rest of the site wherein the blog is found), and now I get this error message. Everything else about the pages is exactly the same except these things, yet I get this error. Advice?

    Thanks!!
    -ron

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Call to undefined function get_header()’ is closed to new replies.