Hi guys,
can somebody please help me? For some reason DOTS to slide the content to left and right are not showing up. All my JS and CSS are loaded, but when i inspect my website i get this error only:
Uncaught TypeError: Cannot read property ‘insertAfter’ of null (on line 209 of custom.js)
http://sandbox.shokuninserver.com/~shefilm/ <= WordPress website
http://sandbox.shokuninserver.com/~shefilm/html/ <= Static for the working slider
Take a look at the blog section…
I am converting my HTML website to WordPress but for some reason it stopped working?
Can somebody help me out here?
My functions.php & order:
function shokunin_import_js() {
wp_enqueue_script('JQuery', '//code.jquery.com/jquery-1.11.2.min.js');
wp_enqueue_script('Bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js');
wp_enqueue_script('Magnific', get_template_directory_uri(). '/assets/lib/Magnific-Popup/dist/jquery.magnific-popup.min.js');
wp_enqueue_script('Flexslider', get_template_directory_uri(). '/assets/js/jquery.flexslider.js');
wp_enqueue_script('Selectbox', get_template_directory_uri(). '/assets/lib/jquery.selectbox-0.2/js/jquery.selectbox-0.2.js');
wp_enqueue_script('Retina', get_template_directory_uri(). '/assets/lib/retinajs/retina.min.js');
wp_enqueue_script('Slickbox', get_template_directory_uri(). '/assets/js/slick.min.js');
wp_enqueue_script('Custom', get_template_directory_uri(). '/assets/js/custom.js');
}
add_action( 'wp_footer', 'shokunin_import_js' );
Thanks in advance!