• Resolved eyeink

    (@eyeink)


    Hi,

    Thanks for building an excellent plugin! The site i’m working on is

    http://www.actpresents.com (Latest tweets area in the right part of footer)

    The HTML shows that the tweets are being loaded, but for some reason they won’t rotate. I’ve tested to see if jQuery was being loaded twice or if the other .js files were making a conflict, but could never get the tweets to rotate. I’ve also tried the pluging on Cycle Default 1 & option 2, and neither are successful. I also tried to remove any old twitter js scripts I saw.

    I was hoping to get your insight on why this may not be working. Thanks

    http://wordpress.org/plugins/rotatingtweets/

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

    (@mpntod)

    It looks like it’s not calling the Rotating Tweets javascript…

    How is the javascript added to the HTML? Has it been hard-coded in?

    Is there a wp_head(); line somewhere in the header.php template file? Without it, you’ll have to hard code in the links to Rotating Tweets since I suspect that adding wp_head(); may break all the other javascript (although a LOT of plug-ins will break if you don’t have it!

    The alternative is to change your template to ‘properly’ add the Javascript using wp_enqueue_script

    Something like:

    <script type='text/javascript' src='http://www.actpresents.com/wp-content/plugins/rotatingtweets/js/jquery.cycle.all.min.js?ver=3.6'></script>
    <script type='text/javascript' src='http://www.www.actpresents.com/wp-content/plugins/rotatingtweets/js/rotating_tweet.js?ver=3.6'></script>

    should do it if you decide to hard code it.

    Martin

    Thread Starter eyeink

    (@eyeink)

    Yes, I do have wp_head(); in my header.php.

    I added in the suggested HTML hard code and that got it working. Thanks so much Martin!

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

The topic ‘Not Rotating (Cannot locate Conflict?)’ is closed to new replies.