Hi @ElClements,
Thanks for writing in! First you need to setup a child theme (https://theme.co/apex/forum/t/setup-how-to-setup-child-themes/57) and then you can add the following codes into your child theme’s functions.php file and implement your codes accordingly
To add a script to your head, follow the example below.
/*Add script on the <head> of the site*/
add_action( 'wp_head', 'add_head_script' );
function add_head_script() { ?>
<!-- YOUR CODE HERE -->
<?php }
To add a code to Body, follow the example below.
// Add Script to Body
// =============================================================================
function add_script_to_body(){
?>
<!-- Insert Code Here -->
<!-- Insert Code Here -->
<?php
}
add_action( 'x_after_body_begin', 'add_script_to_body' );
// =============================================================================
Hope that helps.