1
wordpress indicates using the following code:
( function( $ ) {
// Your code goes here
} )( jQuery );
But I am using the zurb Foundation 6, and I believe this will not be enough to run it along with the wordpress Jquery, since the Foundation itself has several calls using $ inside it.
How can I get $calls passed to Jquery Wordpress automatically?
Have you tried using the
noConflict()
jQuery? For example, to change the simple $ of jQuery to another, put in the code, for example,var $a = jQuery.noConflict();
... so jQuery’s commendations became $a instead of just $.– Sam