Home Forums WoodMart support forum Some code below the footer

Some code below the footer

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #142347

    UP@M
    Participant

    Hi,
    after the last update this code appears below the footer of each page.

    let iframe = document.querySelector('iframe'); let player = new Vimeo.Player(iframe); let playing = false; let simulationTime = 0; player.on('play', function(e) { playing = true; }); player.on('pause', function(e) { playing = false; }); /** * Event fired when user want to fast forward */ player.on('seeked', function(e) { if (e.seconds > simulationTime) { player.setCurrentTime(simulationTime).then(function(seconds) { }).catch(function(error) { switch (error.name) { case 'RangeError': // The time is less than 0 or greater than the video's duration break; default: // Some other error occurred break; } }); } else { simulationTime = data.seconds; } }); /** * Keep time going */ window.setInterval(function() { if (playing) { simulationTime++; } }, 1000);

    I disabled all plugins and themes and reactivated one by one. The problem is related to Woodmart, because when you enable “Twenty Nineteen” theme, the code disappears.

    Thank you

    #142390

    Hello,

    Please provide the site admin access to the private area

    Best Regards

    #142409

    UP@M
    Participant

    Yes.

    Best Regards

    #142411

    Bogdan Donovan
    Keymaster

    We have checked your site and found that the following issue is caused by child theme custom code. Try to switch to parent theme and check if this problem apearce again.

    Regards

    #142412

    UP@M
    Participant

    Yes you are right.
    We are investigating changes to the function.php file.

    Thank you
    Best Regards

    #142442

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Some code below the footer’ is closed to new replies.