After the update Analytics and Adsense scripts dissapeared from header.php - Acme Themes

Best Premium and Free WordPress Themes Forums SuperMag After the update Analytics and Adsense scripts dissapeared from header.php

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43875
    gaddy
    Participant

    After the new update of the theme, my Google Analytics and Google AdSense scripts which are located in the header of the theme header.php have disappeared. Why? I had to enter them manually again. Is it normal to happen this?

    • This topic was modified 5 years, 4 months ago by gaddy.
    • This topic was modified 5 years, 4 months ago by gaddy.
    #43971
    acmethemes
    Keymaster

    Dear gaddy,
    Did you enter the Google Analytics and Google AdSense scripts in child theme or directly in parent theme header ? If you directly customize the parent theme header then it is normal that it will be disappeared on theme update.The best way to customize any theme through creating child theme. So, we recommend you to create child theme and add the scripts in child theme header file which protect your modification form parent theme update.

    #44160
    gaddy
    Participant

    Good question. No I did not install the child theme. I do not even know what is the same of child theme? How’s called and where I can find it? At the mmoment there is not a child theme developed and launched to install it.
    Well I copied and pasted the analytics code and adsense directly in the header of the theme

    • This reply was modified 5 years, 4 months ago by gaddy.
    #44363
    acmethemes
    Keymaster

    Yeah, you have to add it.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.