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

    (@mpntod)

    Commenting out
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    would normally make a difference. It’s currently overwriting jQuery which will normally reset everything.

    But the thing that breaks everything is that
    <script src="https://penyrheol-comp.net/wp/wp-content/themes/DigitalSignageWordpress-master/js/foundation.js"></script>
    also has a copy of jQuery in it.

    Is that line hard-coded in? It a bit of work to remove only the jQuery bits of it (although this would be the ideal solution) – and it might be better (if it is using wp_enqueue_script()) just to make sure that everything else that relies on jQuery comes after it.

    Martin

    Thread Starter Toast

    (@toast)

    Thanks for the quick response. I think foundation.js is part of the Zurb framework that the theme is built on. I didn’t realise there was a copy in there too.

    I’ll have a look at this again in the morning and see if I can work it out.

    Thanks again,

    Jo

    Plugin Author Martin Tod

    (@mpntod)

    It may be worth checking that you have the latest version of the template… when I went and had a look at the latest version online it appeared to have different JavaScript.

    Martin

    Plugin Author Martin Tod

    (@mpntod)

    Just had a look again, and it’s definitely the second copy of jQuery that’s causing the problem.

    It does appear to be in the original template that you’re using. I’ve suggested some changes to the original author.

    Martin

    Thread Starter Toast

    (@toast)

    Hi Martin, thanks for that info, I’ve been a bit busy the last few weeks but will look into it again ??

    Jo

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Tweets not rotating – jQuery cycle is not a function’ is closed to new replies.