I'm a developing own Wordpress theme. I'm using Owl Carousel
But getting this error Uncaught TypeError: undefined is not a function from 1st line and doesn't show any carousel item. Sorry my bad english.
$(document).ready(function() {
$("#owl-demo").owlCarousel();
});
jQuery is included with WordPress by default in no-conflict mode. In noConflict() mode, the global $ shortcut for jQuery is not available, so you need to use:
jQuery(document).ready(function($) {
// Inside of this function, $() will work as an alias for jQuery()
// and other libraries also using $ will not be accessible under this shortcut
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With