WordPress.org

Ready to get started?Download WordPress

Forums

wp_enqueue_script version problem (4 posts)

  1. stratboy
    Member
    Posted 3 years ago #

    hi! I've wrote this (in a function called add_mootools in functions.php)

    wp_enqueue_script('mootools','',array(),"1.2");

    But the problem is that the html output has always the same version (the wp version!!! And this is strange too.. ), just as I didn't pass it:

    <script type='text/javascript' src='http://reghellin.unbit.it/test-nino/wp-content/themes/el-nino/js/mootools.js?ver=2.9.2'></script>

  2. stratboy
    Member
    Posted 3 years ago #

    pardon, so, the question: how can I effectively get the version written?

  3. stratboy
    Member
    Posted 3 years ago #

    no?

  4. pachito86
    Member
    Posted 3 years ago #

    i've the same problem i don't want to have ver=2.9.2 written after the script source.

    http://reghellin.unbit.it/test-nino/wp-content/themes/el-nino/js/mootools.js?ver=2.9.2

Topic Closed

This topic has been closed to new replies.

About this Topic