-
AuthorPosts
-
September 19, 2018 at 11:48 am #1011742
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.September 19, 2018 at 12:27 pm #1011771Hey fattlco,
Please paste it in the Google Analytics box under Enfold->Google Services.
Best regards,
RikardSeptember 19, 2018 at 12:47 pm #1011791This reply has been marked as private.September 19, 2018 at 12:53 pm #1011795Hi,
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,
PeterSeptember 19, 2018 at 1:40 pm #1011803This reply has been marked as private.September 19, 2018 at 2:03 pm #1011810Hi,
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,
PeterSeptember 26, 2018 at 4:30 pm #1014850Works perfectly, thanks!
September 26, 2018 at 4:34 pm #1014855Hey!
Great, glad I could help you :)Best regards,
PeterSeptember 26, 2018 at 10:59 pm #1015011Dude I may have spoken too soon. It broke my homepage.
I use the color section with a background video. Broke everything.September 27, 2018 at 8:17 am #1015155 -
AuthorPosts
- You must be logged in to reply to this topic.
