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?