Uncaught TypeError: $(…) is not a function

Why do I always get this nasty Uncaught TypeError: $(…) is not a function in WP? Although I always find a solution it comes back again. This time it is with WaterwheelCarousel script.

My guess is that it has something to do with reordering of enqueued files inside WP by core files.

Solution: Nope, it wasn’t the poor WP to take the blame. The problem was with incorrect URL to the waterwheelCarouse javascript file.

Also sometimes I forget to put the code within:  $(document).ready(function() {

Leave a Reply

Your email address will not be published. Required fields are marked *