Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Martin Tod

    (@mpntod)

    Shortcodes can sometimes push the plug-in scripts to the bottom of the page – especially if WordPress only detects the Rotating Tweets after the header has been loaded.

    Looking at the console via [F12], the problem appears to be that your scripts.js script is breaking because it’s failing to find the glide function – which then breaks all JavaScript from that point onwards on the page.

    Do you have the latest version of your template installed?

    Plugin Author Martin Tod

    (@mpntod)

    I think it’s a template problem.

    scripts.js is loading before glide.min.js – even though it calls that script within it.

    That appears to be breaking the JavaScript.

    It may be down to how scripts.js is loaded. Does your functions.php file use wp_enqueue_script to load it? And does it have a dependency something like array('jquery','glide') when it does? In essence, you need a bit of code that forces scripts.js to load later on the page.

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Just looked at the site. It looks like it’s working now?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘No Rotation’ is closed to new replies.