WordPress.org

Forums

[resolved] Fatal error: Call to undefined function: get_header() (4 posts)

  1. smk2004
    Member
    Posted 8 years ago #

    Can anyone explain why this error comes up when I try and pull up my themes for advanced custom design?

    Fatal error: Call to undefined function: get_header()in

    on line 2

  2. Kafkaesqui

    Posted 8 years ago #

    Can you explain what you mean by "when I try and pull up my themes for advanced custom design" ?

    Typically that error occurs when you attempt to access a theme template file directly (which one is not meant to do).

  3. smk2004
    Member
    Posted 8 years ago #

    From my understanding you absolutely can. I've download a custom design wordpress from template monster. If they sell them then surely they know you can use them.

  4. whooami
    Member
    Posted 8 years ago #

    smk2004, the error you are seeing is the result of doing bringing THIS:

    http://www.yourdomain.com/wp-content/themes/yourtheme/index.php

    up in a browser window.

    Thats what Moshu means. And thats not how theyre meant to be loaded.

    If you want to see the changes youve made to your theme, you need to make that theme active and bring up your site, the NORMAL way.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags