I am trying to embed an html page into a stand alone php page, but I always get an error as if the header (or footer) cant be called:
Copied from page.php
<?php
/**
* The Template for displaying all single pages.
*/
get_header(); ?>
<?php
/* Run the loop to output the pages.
* If you want to overload this in a child theme then include a file
* called loop-page.php and that will be used instead.
*/
include("results.html")
?>
<?php get_footer(); ?>
I put the php page in the root directory, but get the following message when trying to access it:
Fatal error: Call to undefined function get_header() in /home/EXAMPLE/public_html/page.php on line 6