I need add Google Remarketing code between <body> & </body>
Hey denis-lvov!
Please add following code to Functions.php file in Appearance > Editor
function add_google_remarketing(){
?>
// YOUR CODE GOES HERE
<?php
}
add_action('wp_footer', 'add_google_remarketing');
Cheers!
Yigit
hello
ok, but it seems this is a temporary solution..
and after next enfold update, which will include this file, my code will disappear??
Hi!
Yes, it will be overwritten. However you can use a child theme to avoid that. You can download pre-built child theme here – http://kriesi.at/documentation/enfold/downloads/
Regards,
Yigit
where i can read more about child theme and how to use it?
Try to add code bur than^
Parse error: syntax error, unexpected T_STRING in */wp-content/themes/enfold/functions.php on line 521
Hey!
Please post the code you would like to add here using – http://pastebin.com/ and create a temporary admin login so we can add the code for you
Regards,
Yigit
Hi!
Sorry, i made a typo in my first code. Please use this one – http://pastebin.com/HXESMV3r
Best regards,
Yigit
seems work, thanks
now I will try to deal with child theme