Header and Footer Not Pulling into Custom Plugin

We inherited a site that involves an online product catalog (category pages, single product pages, etc.) that is controlled with a custom plugin, with template files for the search results, product pages, and the like. We have found that those pages controlled by the plugin (and thus not made within Cornerstone) are not pulling the header and footer in despite the template files including get_header() and get_footer().

Anything we’ve found within the forums here has not worked — mainly changing the priority of loading like in this post (How to call X header and footer from code). Should we be attempting to call the header and footer in a different way? Is there a way to do so?

Hey @launchcatapult,

Thanks for reaching out!

Upon checking with our developer, calling the get_header() and get_footer() function will display the header and footer layout. Just to let you know that this is a custom development and outside the scope of our theme support. If you wish us to help you with coding, you may check our One Service.

By the way, are you using X or Pro?

Thank you.

Hello,

We are using Pro and built out a custom header and footer within Cornerstone.

Thanks

Hi @launchcatapult,

It seems that the custom plugin is not calling the get_header and get_footer properly, and that is why the Header and Footer are not showing. So, I would suggest you go through the plugin code once and check if that is calling the method in a proper way or not.

As explained by my colleague, custom coding issues are beyond the scope of Theme Support, and you hire a developer who can assist you in doing the customization or you can avail of our newly launched service called One, where we answer the questions beyond normal theme support.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.