Title: Problems with cycle in JS code
Last modified: August 21, 2016

---

# Problems with cycle in JS code

 *  [aafritz](https://wordpress.org/support/users/aafritz/)
 * (@aafritz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problems-with-cycle-in-js-code/)
 * I’ve got a strange one. Total slider works great on my test site. On my public
   site, it never cycles the slides and I get the following in firebug:
 * TypeError: jQuery(…).cycle is not a function
    jQuery(‘.ts-post-inline’).cycle({
 * The sites should be the same. Same version of WP, same content (cloned DB and
   wp tree), etc. I’m at a total loss as to what is going on. How is cycle normally
   loaded into the page? I don’t see cycle loaded on my production site but it is
   loaded on my test site.
 * [http://wordpress.org/plugins/total-slider/](http://wordpress.org/plugins/total-slider/)

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

 *  Thread Starter [aafritz](https://wordpress.org/support/users/aafritz/)
 * (@aafritz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problems-with-cycle-in-js-code/#post-4496391)
 * Update… Apparently, cycle was being brought in on my test site by another plugin.
   After I updated it, both sites are now broken in the same way (error above).
 * How should cycle be brought in for total slider? I assumed it would be brought
   in by the plugin but it appears not to be.
 *  Thread Starter [aafritz](https://wordpress.org/support/users/aafritz/)
 * (@aafritz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/problems-with-cycle-in-js-code/#post-4496395)
 * And, I’ll answer my own question…
 * If you build your own template (which I did), you have to manually add cycle2
   to the page, or in your js file for the template… or whatever to put it in scope.
   Just missed that…

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

The topic ‘Problems with cycle in JS code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/total-slider_aac3cc.svg)
 * [Total Slider](https://wordpress.org/plugins/total-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/total-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/total-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/total-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/total-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/total-slider/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [aafritz](https://wordpress.org/support/users/aafritz/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/problems-with-cycle-in-js-code/#post-4496395)
 * Status: not resolved