Support » Plugin: Meteor Slides » [Meteor Slides] Conflict with custom jquery

  • Hello, i have using jquery, loaded on the header, from a theme.
    If i removed it from the header, the meteor start to work. But i need it in the header. What i can do in this case? How to make the jquery loading to be proper for the custom script and the meteor?

    <script language="javascript" type="text/javascript" src="/wp-includes/js/jquery/jquery-1.3.2.min.js"></script>

    I think, is there solution for all this jquery loading conflict, cause it is not just for Meteor slide, for other plugins too.
    Thanks

    http://wordpress.org/extend/plugins/meteor-slides/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Josh Leuze

    (@jleuze)

    Hi, I would fix your theme to properly enqueue the copy of jQuery that is built into WordPress, just like plugins do and then there shouldn’t be a conflict.

    What theme are you using, can you post a link to the site you’re working on?

    Hello
    i am using Weaver 2 theme.
    I try to put this code into the html header:

    wp_enqueue_script(‘jquery’, WP_CONTENT_URL . ‘wp-includes/js/jquery/jquery-1.3.2.min.js’);

    but nothing happened.

    i use a custom script placed in : /wp-includes/js/jquery/mycript.js
    It use old version of jquery 1.3.2 and it doesnt work. If i call in the header with link this old version it works, but make conflict with the current.
    I read about http://codex.wordpress.org/Function_Reference/wp_enqueue_script
    But i never used it before and cannot make it work.

    I try to put this code in the header:
    <?php wp_enqueue_script(“jquery”); ?>
    <?php wp_head(); ?>

    But still dont work.

    Finaly – i tested the code again, out of the WP. In pure html. And guess what – the script work with the 1.8.3 version.
    So, why it doesnt work in WP, as jquery is loaded from the core?
    If i make reference in the header with the same jquery, the script work, the plugins dont…
    What i am making wrong…

    Plugin Author Josh Leuze

    (@jleuze)

    Hi, Weaver and Meteor Slides should both be loading jQuery, so you shouldn’t need to edit the theme to change anything with jQuery. You should be able to get this working by tweaking the script or changing where that is loading.

    Can you post a link to the site you’re working on? What script are you having problems with?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Meteor Slides] Conflict with custom jquery’ is closed to new replies.