Hey,
This code should be added under the <head> tag
<!– TradeDoubler site verification 2949131 –>
Where should I add it?
Thanks
Charlotte
http://www.newyorkhotellbokning.se/
Hi Charlotte :)
Please add following code to Functions.php file in Appearance > Editor
function my_custom_code(){
?>
//Your code goes here
Regards,
Yigit
Hey,
I get this when I add the code
Parse error: syntax error, unexpected $end in /home/d8737/newyorkhotellbokning.se/wp-content/themes/enfold-child/functions.php on line 13
function my_custom_code(){
?>
//<!– TradeDoubler site verification 2949131 –>
< ?php
}
add_action(‘wp_head’, ‘my_custom_code’);
Hi charlotteraboff,
Try like this:
function my_custom_code(){
echo "<!– TradeDoubler site verification 2949131 –>";
}
add_action('wp_head', 'my_custom_code');
Best regards,
Victoria
Thanks Victoria.
I didn’t get the error now but is it under the head tag? Because when I try to verified the website through tradedoubler is does not recognised it.
Hey Charlotte!
I noticed an extra space in the first code i posted. Please try the code as following
function my_custom_code(){
?>
//Your code goes here
<?php
}
add_action('wp_head', 'my_custom_code');
Cheers!
Yigit
Thanks Yigit..
but // is visible on main page now… in the left hand side corner