Please show me where to copy the Google code and paste it onto every page of your website.
1. Paste code in as high in the <head> of the page as possible.
2. Paste code in immediately after the opening <body> tag.
Hey fattlco,
Please paste it in the Google Analytics box under Enfold->Google Services.
Best regards,
Rikard
Hi,
Please add this code to the child theme functions.php:
function avia_header_scripts_custom(){
?>
<script type="text/javascript">
<!-- Add your code here -->
</script>
<?php
}
add_action('wp_head', 'avia_header_scripts_custom');
and replace:
<!-- Add your code here -->
with your google code. The code will then appear in the head section.
Best regards,
Peter
Hi,
You can use the ava_after_body_opening_tag action hook – insert this code into your child theme functions.php
function avia_body_scripts_custom(){
?>
<script type="text/javascript">
<!-- Add your code here -->
</script>
<?php
}
add_action('ava_after_body_opening_tag', 'avia_body_scripts_custom');
and replace:
<!-- Add your code here -->
with your google code. The code will then appear in the head section.
Best regards,
Peter
Works perfectly, thanks!
Hey!
Great, glad I could help you :)
Best regards,
Peter
Dude I may have spoken too soon. It broke my homepage.
I use the color section with a background video. Broke everything.