wp_enqueue_script adding ?ver=3.1.1 to the end of scripts!
-
Coincidentally, I’m using WordPress 3.1.1. Other scripts in the plugin I edited are using the same syntax and no version and they print to the page fine but the ones I added add a version! I just don’t get it! Why does it do this only to the scripts I’m trying to add? Here is one of the lines I’m trying to add:
wp_enqueue_script('jcarousel', WP_PLUGIN_URL."/wpec_product_slider/js/jquery.jcarousel.js", array('jquery'),'',true);
I typed it right, didn’t I? Anyone know what is going on here?
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘wp_enqueue_script adding ?ver=3.1.1 to the end of scripts!’ is closed to new replies.