Hi,
I was following this thread: https://kriesi.at/support/topic/broken-header-at-wp-4-1-latest-enfold-update/
It looks like the solution was to remove the Google Retargeting code, however I need the Retargeting code to be on the site. Is there a fix for this that doesn’t involve removing the Retargeting code?
Thanks!
Hi mchi8600!
Thank you for using Enfold.
Try to use the wp_head hook function on functions.php to embed the Google Retargeting code inside the head tag. Refer to this link for more info: http://codex.wordpress.org/Plugin_API/Action_Reference/wp_head
Quick Sample:
/**
* Google Retargeting
*/
add_filter('wp_head', 'avf_google_target', 10);
function avf_google_target() { ?>
// GOOGLE RETARGETING SCRIPT HERE
<?php
}
Regards,
Ismael