I have a carousel on the site, and I want it to run every ten seconds, as if the visitor has clicked the button to do this.
This is the site link
Here's all the plugin JS (WP Carousel Posts) link
And here, the inclusion I made in this JS
window.setTimeout(function(){
document.getElementsByClassName("owl-dot").click();
}, 10000);
It is not working. I wonder why.