add any code to functions.php on child theme
-
Hello,
It’s better to add any PHP snippets code on functions.php or copy files to the child theme and change them or it does not matter?
on Oceanwp Documentation there are many useful articles about adds code through functions.php.for instance, now I will to add gtag.js google analytics code to header and as well as add
<meta name="theme-color" content="#ff6600" />
before closing </head> tag on header.php
How can they be added through functions.php?Thanks in advance
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘add any code to functions.php on child theme’ is closed to new replies.