Add Code to Header

Hi. It seems the old path to X header file has changed. Could you please tell me where it’s now? We would like to add a code the header of X.


Hello William,

Thanks for writing in!

If you want to add a code inside the <head> tag of your site, it is best that you install “Insert Headers and Footers” plugin. This is way more organize because you can manage your custom codes for the head and footer of the site.

And if you want to insert a code right after the body tag, you can find the x/framework/legacy/cranium/headers/views/global/_header.php file.

Hope this helps.

Thanks for the support!

We have already tried several footer and header plugins. Some of them worked, but not really the way we wanted the output. Some of them did not even work. The way X theme is constructed with stacks makes some customization works a little complicated. I wish X only has one (1) stack with many Theme Options to be able to customize it and get all other stacks or layouts with it like some themes. :slight_smile:


You are most welcome!

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