Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #596607

    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

    #596638

    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

    #596802

    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

    #596914

    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

    #596924

    Thank you! So I can just copy Enfold footer and header php to child folder and change with my code?

    #597029

    Hey!

    Definitely! That way your code won’t get erased when the theme updates.

    Best regards,
    Jordan

    #597219

    Thank you again. You can close this topic. Hava a nice day!

    #597537

    Hi,

    Great, glad we could help :-)

    Regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Add code to header tag’ is closed to new replies.