Uncaught TypeError: jQuery(…).slick is not a function(…)
-
Hi!
I just installed the plugin, but I get
Uncaught TypeError: jQuery(...).slick is not a function(…)
.I don’t understand why exactly. The JS includes look to be correct. I include my JS scripts at the bottom of the page just before I close
</body>
. The order seems correct too:<script type='text/javascript' src='https://localhost:8080/wp-includes/js/jquery/jquery.js?ver=1.12.4'></script> <script type='text/javascript' src='https://localhost:8080/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'></script> <script type='text/javascript' src='https://localhost:8080/wp-content/plugins/slick-slider/bower_components/slick-carousel/slick/slick.min.js?ver=1.6.0'></script> <script type='text/javascript'> jQuery( document ).ready( function() { jQuery( '.slick-slider-wrapper .slick-slider' ).slick(); } ); </script>
When I go look at
https://localhost:8080/wp-content/plugins/slick-slider/bower_components/slick-carousel/slick/slick.min.js?ver=1.6.0
slick is there. Any ideas?Best,
Marco
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Uncaught TypeError: jQuery(…).slick is not a function(…)’ is closed to new replies.