Hello!
How can I add a code to header tag?
Do you have a special way or a code snippet?
I would like to use Facebook Pixel Code…
Best regards
Peter
Hi Peter!
To add the Facebook Pixel Code to the header tag you need to edit the header.php file. I would recommend using a Child theme to make these changes because every time the theme updates, your changes will be lost in the header. http://kriesi.at/documentation/enfold/using-a-child-theme/
Regards,
Jordan
Hi,
Sorry a have to add code to HEAD tag and another code to FOOTER tag for adwords remarketing.
I use child.
Thank you!
Best regards,
Peter
Hey!
The head tag is located in the file header.php. Just place the code before </head>. The footer tag is found in the file footer.php. Likewise, simply place the code before the line </footer>.
Cheers!
Jordan
Thank you! So I can just copy Enfold footer and header php to child folder and change with my code?
Hey!
Definitely! That way your code won’t get erased when the theme updates.
Best regards,
Jordan
Thank you again. You can close this topic. Hava a nice day!