The header/footer is missing on the search page here. It was working previously here. We tried disabling the child theme and it didn’t change anything.
Thanks for your help.
The header/footer is missing on the search page here. It was working previously here. We tried disabling the child theme and it didn’t change anything.
Thanks for your help.
Hi There,
It seems that the page where it is missing is using a custom template. If it is on the child theme it should display it back once you switch to main X theme unless you do have caching or the changes are made on main X theme. Would you mind providing us with login credentials so we can take a closer look? Please provide following information:
Set it as Secure Note
All the best!
Hello There,
Thanks for updating in! Do you have customizations and template overrides? Please be advised that in the recent releases of X, we have change the template system. You will need to relocate your customizations in your child theme to these folder locations:
wp-content/themes/x-child/framework/legacy/cranium/headers/views/integrity/
wp-content/themes/x-child/framework/legacy/cranium/footers/views/integrity/
Hope this helps.
Hi,
If we turn off the child theme then the problem still persists. Let us know if you want us to disable the child theme so you can see the issue.
Thanks
Hi,
Would you mind providing us with login credentials so we can take a closer look? Please provide following information:
Set it as Secure Note
All the best!
Hi Paul,
I’ll attach the information to this reply as a secure note.
Thanks again!
Hello There,
Thanks for providing the information. The contents of the header.php and footer.php has changed. You should have at least this contents:
header.php
<?php
// =============================================================================
// HEADER.PHP
// -----------------------------------------------------------------------------
// The site header.
// =============================================================================
?>
<?php x_get_view( 'header', 'base' ); ?>
footer.php
<?php
// =============================================================================
// FOOTER.PHP
// -----------------------------------------------------------------------------
// The site footer.
// =============================================================================
?>
<?php x_get_view( 'footer', 'base' ); ?>
And your search.php is not necessary because it will just fallback to the index.php. Unless you want to display or modify the layout, then you will need to have a search.php file along with your customizations in it.
Hope this helps. Please let us know how it goes.
Hi,
I’ve disabled the child theme and the search still doesn’t include the header. Is it a theme configuration issue?
https://dev.mosaicbc.org/?s=history
Thanks!
Hello There,
Thanks for updating in! It seems that the Better Search plugin takes over the search page. Please keep in mind that this plugin replaces the default WordPress search with a contextual search.
I have deactivated and this is now the look of the search page: http://prntscr.com/g4kd9r
Hope this helps. Kindly let us know.
Thanks for your help!
You’re welcome!
We’re glad we were able to help you out.