How do you add code to header?
Hi team,
There are some html codes that need to be inserted into the header area of a page, such as tracking code, or app download banner code etc.
If I do not want to use a header plugin, where do you add the code to the header of the website? As all the code from your theme is hidden.
Thanks
Helen
Hi Helen,
I hope you are well today and thank you for your question.
The theme code is open source and not hidden.
Using plugin is easier but if you don’t want to use plugin then you have to develop custom code using wp_head hook as described in the following page.
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
Best regards,
Shufflehound team
Popular choice
Professional Developers At Your Fingertips!
If you need services beyond standard support, we've got your back!
Services we offer:
Graphic work / visualizations Full WordPress development and design
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.