• 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.

    Some help would be wonderful.

Viewing 1 replies (of 1 total)
  • Thread Starter mixi

    (@mixi)

    I got the same error when putting the file blog.php in the theme folder.

    Why does this not work?

Viewing 1 replies (of 1 total)

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