Title: Cannot integrate Owl Carousel
Last modified: August 30, 2016

---

# Cannot integrate Owl Carousel

 *  [brollan](https://wordpress.org/support/users/brollan/)
 * (@brollan)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/)
 * Hi,
    I’ve been trying to integrate the owl carousel for a while now. Have done
   it before to other themes a lot of times but now im just recieveing the error“
   OwlCarousel is not a function”. I have tried with different versions of css files
   and js files and loaded it from different places. I have also loaded the jquery
   in non-conflict mode.
 * Url: [http://fredrikbrolin.se/compare](http://fredrikbrolin.se/compare)
 * Have anyone experienced the same issue?

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

 *  [hero99](https://wordpress.org/support/users/hero99/)
 * (@hero99)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218009)
 * Hi bro, I am sorry that I am unable to help as I am a newbie.
 * I am also trying to use StoreFront to build an e-commerce site.
 * I see your webpage is totally different from the StoreFront theme that I see.
 * I searched the web and saw many people saying using a Child Theme to change the
   way it looked.
 * Is that what you have done too?
 * Thanks for your advice and sorry for unable to be of help to you.
 *  Thread Starter [brollan](https://wordpress.org/support/users/brollan/)
 * (@brollan)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218100)
 * [@hero99](https://wordpress.org/support/users/hero99/): Hi! No worries. I have
   done some heavily customization to my site from the original theme, both visual
   and in the woocommerce files.
 * I can recommend to use a child theme as you say, that way you can alter the visuals
   of the site securely.
 * Thanks
 *  [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218111)
 * Hey,
 * I think it’s because jQuery is being loaded twice. View the source of your site
   and you’ll notice it’s added on line 13 and once again on line 219.
 * Remove the version of jQuery you added yourself (jQuery is already loaded in 
   Storefront) and enqueue the owlCarousel script correctly using `wp_enqueue_script()`
   with a jQuery dependency. You can read up on how to do that here: [https://codex.wordpress.org/Function_Reference/wp_enqueue_script](https://codex.wordpress.org/Function_Reference/wp_enqueue_script)
 * Cheers!
 *  Thread Starter [brollan](https://wordpress.org/support/users/brollan/)
 * (@brollan)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218140)
 * [@jameskoster](https://wordpress.org/support/users/jameskoster/):
 * Hi James,
    Ahh Im so stupid. Thanks a lot!
 * Cheers mate!
 *  [James Koster](https://wordpress.org/support/users/jameskoster/)
 * (@jameskoster)
 * [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218173)
 * No problem!

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

The topic ‘Cannot integrate Owl Carousel’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/storefront/4.6.2/screenshot.png)
 * Storefront
 * [Support Threads](https://wordpress.org/support/theme/storefront/)
 * [Active Topics](https://wordpress.org/support/theme/storefront/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/storefront/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/storefront/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [James Koster](https://wordpress.org/support/users/jameskoster/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/cannot-integrate-owl-carousel/#post-6218173)
 * Status: not resolved