Hello,
So we are using a header and footer php file that are outside of the Wordpress them directory and are pulling from the root directory. This has been working great for about a year, though with the latest X update the header and footer are missing when viewing the website in the browser.
Below is the code we’ve been using in our x-child theme folder in file labeled “header.php”. Has there been a change, where this information needs to be placed in another location to work now?
Thank you for your help. We have been looking through past threads for a few days now and haven’t found a solution, so thought I’d open a thread.
<?php
// =============================================================================
// HEADER.PHP
// -----------------------------------------------------------------------------
// The site header.
// =============================================================================
?>
<?php x_get_view( 'header', 'base' ); ?>
<?php include_once("/includes/header.php"); ?>