GSC Verification blocked by flicker script
-
Good day,
I’ve the following issue. I try to verificate my website on Google Search Console. But it doesn’t recognize the tag, because its loading after the following script:
<script type=”text/javascript” id=”wd-flicker-fix”>// Flicker fix.</script>
Is there a way to remove this script (is it necessary?) or to load the script after the GTM tag?
Hello,
Thank you very much for using our theme and contacting us.
Try to add the following PHP code snippet to the child theme functions.php file to remove this script
remove_action( 'wp_body_open', 'woodmart_fix_transitions_flicking', 1 );
Kind Regards
Hello,
Unfortunately the script isn’t gone after this.
Are there other options?
Hello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
Sorry, try to replace the code with this one
add_action(
'wp',
function() {
remove_action( 'wp_body_open', 'woodmart_fix_transitions_flicking', 1 );
}
);
You are welcome! Feel free to contact us if you have any further questions.
The topic ‘GSC Verification blocked by flicker script’ is closed to new replies.