Home Forums WoodMart support forum GSC Verification blocked by flicker script

GSC Verification blocked by flicker script

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #346406

    jbijman
    Participant

    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?

    #346416

    Artem Temos
    Keymaster

    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

    #346713

    jbijman
    Participant

    Hello,

    Unfortunately the script isn’t gone after this.

    Are there other options?

    #346714

    Artem Temos
    Keymaster

    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

    #346716

    jbijman
    Participant

    Hello,

    See below;

    #346745

    Artem Temos
    Keymaster

    Sorry, try to replace the code with this one

    add_action(
    	'wp',
    	function() {
    		remove_action( 'wp_body_open', 'woodmart_fix_transitions_flicking', 1 );
    	}
    );
    #346762

    jbijman
    Participant

    That worked, thanks!

    #346763

    Artem Temos
    Keymaster

    You are welcome! Feel free to contact us if you have any further questions.

Tagged: , ,

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘GSC Verification blocked by flicker script’ is closed to new replies.