I have a simple jQuery script in a WordPress plugin that is using a jQuery wrapper like this:
$(document).ready(function(){ // jQuery code is in here }
var $=jQuery.noConflict(); $(document).ready(function(){ // jQuery code is in here });
Credit to Ashwani Panwar and Cyssoo answer: https://stackoverflow.com/a/29341144/3010027