Hello,
I want to integrate google analytics script code at my body-tag. Thus I am using the wp_body_open action to integrate the code, as it should work with wordpress 5.2.x.
But it seems your theme, X, is not supporting this feature, since the following code:
function add_svacode_to_body() {
?>
<!-- sva code in body? -->
<?php
}
add_action( 'wp_body_open', 'add_svacode_to_body' );
is not working. Although integrated within the functions.php file of my X-Child Theme,
How is the proper way to integrate my code snipped right after the body-tag.
Thanks for your help!