Hello There,
get_header() and get_footer() call should work. Please check out the contents of the page.php. It calls for the x_get_view() function.
<?php
// =============================================================================
// PAGE.PHP
// -----------------------------------------------------------------------------
// Handles output of individual pages.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's pages, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-page.php," where you'll be able to find the
// appropriate output.
// =============================================================================
?>
<?php x_get_view( x_get_stack(), 'wp', 'page' ); ?>
In your child theme, you should have make sure that the template you are calling is there in one of the stack folders or else nothing will happen. As an example, in integrity folder wp-content/themes/x-child/framework/views/integrity/
, you have wp-page.php file and its contents is like this:
<?php
// =============================================================================
// VIEWS/INTEGRITY/WP-PAGE.PHP
// -----------------------------------------------------------------------------
// Single page output for Integrity.
// =============================================================================
?>
<?php get_header(); ?>
<div class="x-container max width offset">
<div class="<?php x_main_content_class(); ?>" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<?php x_get_view( 'integrity', 'content', 'page' ); ?>
<?php x_get_view( 'global', '_comments-template' ); ?>
<?php endwhile; ?>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
It is clearly using the get_header() and get_footer() function call.
Hope this helps.