Child theme - by GiovanniFabb - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 4 years, 9 months ago ago by Olga Barlow

  • Avatar: GiovanniFabb
    GiovanniFabb
    Participant
    January 30, 2020 at 09:39

    Hi guys, how are you?

    i was looking for header.php file in the child theme but i just found it in the father theme.
    How can i fix this ?

    I just want to copy and paste the GA tracking code without any plugin.

    Thanks

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    January 30, 2020 at 12:00

    Hello,

    If you want to make these changes in child theme you need to copy header.php file from parent theme to child and apply changes in header.php file of the child theme.
    But we would recommend you to use Insert headers and Footers plugin instead of this to add GA code to head because once you switch theme you will lose your code. That plugin does not affect the page speed and allows you to add scripts to header and footer.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.