jQuery,and other library right order to include?

I have a WordPress theme that uses MooTools and jQuery. I use jQuery noConflict to avoid conflicts with other JS libraries; this didn’t help me.

Can someone help me with the right order of including JS libraries on my WordPress theme?

Read More

Thanks in advance.

Related posts

Leave a Reply

1 comment

  1. What you need to do is add this before your jquery code :

    jQuery.noConflict();
    

    and replace all JQuery $ by jQuery. For example :

      jQuery(document).ready(function($) {
        // Code that uses jQuery's $ can follow here.
      });
      // Code that uses other library's $ can follow here.