WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
how to stop the jQuery link? (5 posts)

  1. waggatron
    Member
    Posted 3 years ago #

    I have just installed and activated the NextGEN Gallery and it has knocked out jQuery used elsewhere in the site.

    I am linking to the latest jQuery and everything works fine with that, does anybody know how to stop the plugin from linking to jQuery or where in the mass of files it is so I can delete it?

    Looks a great plugin, would be a shame to drop it. Any help would be greatly appreciated

  2. hedronist
    Member
    Posted 3 years ago #

    Link?

    List of plugins/versions (including the NextGEN version)?

    Normally the fastest way to debug this is Firefox + Firebug extension. Go to the page, open FB and reload the page. Look in the lower right corner for "X errors" in red and click on it. It should be educational.

  3. giles14
    Member
    Posted 3 years ago #

    Hi there,

    I don't complete understand your question, nonetheless I think that you are asking to prevent jQuery conflicts but you have to say where is the conflict if its in admin page you can deregister all jQuery from the WordPress Core (only in admin page) to let NGG take the control of it's own jQuery libraries:

    Look at this:
    Codex Deregister_script EX:
    wp_deregister_script( 'jquery' );

    Or this thread:
    http://wordpress.org/support/topic/plugin-nextgen-gallery-cannot-add-gallery-to-album/page/2?replies=45#post-1876267

  4. webgrafia
    Member
    Posted 3 years ago #

    Great,
    wp_deregister_script( 'jquery' );
    worked for me

    Thanks

  5. waggatron
    Member
    Posted 3 years ago #

    @giles14

    Thanks very much for your input. I'm trying to stop the plugin inserting a link to jquery in the head of the document

    "<script type='text/javascript' src='http://localhost/c16/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>"

    I am linking to "jquery/latest" and deploying nivo-slider that NGG_gallery breaks.....is this clearer? I'm only a student so apologies for any mixed messages :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.