Adding custom code to X-Theme child theme header

I previously added custom code to my site’s header by creating a child theme and adding my code to:

/x-child/framework/views/integrity/wp-header.php

After upgrading to 5.2.5 my customization disappeared from the site.

The only way I have been able to reinject the code into X-Theme has been to the parent theme, here:

/x/framework/legacy/cranium/headers/views/integrity/wp-header.php

Adding the same code to…

/x-child/framework/legacy/cranium/headers/views/integrity/wp-header.php

…didn’t work.

How can I add my mod to my child theme?


And BTW it isn’t a simple tracking code or anything like that, but if there’s a way to add it to functions.php so that the code appears immediately before <\header>, I am open to that as well.

Nevermind for now! It turns out that my child theme is broken.

No problem. Have a nice day! :slight_smile:

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