Custom Post Type Slick Slider “$ is not a function”

If you want to use $ instead of jQuery you can wrap your JS code like this…

(function ($) {
    ...you js code
})(jQuery);

or use noConflict() by putting this at the top of your JS…

var $ = jQuery.noConflict();

Of course you could also replace all the $ with jQuery.

Any of these will get rid of your error.