JeremyEnglert / JointsWP-CSS

A blank WordPress theme built with Foundation 6, giving you all the power and flexibility you need to build complex, mobile friendly websites without having to start from scratch.

Home Page:http://jointswp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to include more jquery based scripts to the CSS version

nandroid opened this issue · comments

Hi,

I am adding waypoints.js and owl.carousel.js to my site http://wawewiwowu.com .
So the only way to make these work is to repeat the jQuery link in the footer.php before the js I need to make it work.

<script src="/vendor/jquery/dist/jquery.min.js"></script> <script src="/assets/owl-carousel/owl.carousel.js"></script> <script src="/assets/js/owl-carousel-custom.js"></script> <script src="/assets/js/waypoints.js"></script> <script src="/assets/js/jquery.countTo.js"></script> <script src="/assets/js/waypoints-animate-custom.js"></script>

Anything I do in enqueue-scripts.php does nothing.
Now I have a problem with some plugins because of that jquery in the footer.

What can I do?
Which is the right place to load and order the scripts?