Header.php custom code is not working in the Hello Elementor Theme
Iftekhar Chowdhury
? SEO, SEM & Meta Ads Specialist | Data-Driven Digital Marketer | Focused on ROI and Performance
Describe the bug:
Hello, I have a problem with your plugin, and it's that I'm using the "Hello" Elementor theme, the thing is that I want to add code inside the head tag to the header.php of this theme, and I added it, I saved it, but when I go to the site and inspect the head tag it doesn't display the code I've added.
To reproduce:
1.- Go to Appearance - Theme Editor. 2.- Open the header.php file of the active theme. 3.- Add some code and save it. 4.- Go to the home site and inspect if the code is there. 5.- Inspected and code is not displaying.
Expected behavior:
What I was hoping is that the code I add to the header.php of the active theme, scrolls to the whole site that uses that header.php. For example, if I add Google Tag Manager code, I expect it to display on the site.
Isolating the problem:
WordPress version:
5.4.1
Elementor version:
2.9.8
Solution:
Use the Plugins Header Footer Code Manager.