WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] Please, disable again registering jquery

[Plugin: NextGEN Gallery] Please, disable again registering jquery

  • viter-z-bayraku
    Member

    @viter-z-bayraku

    I manually added jquery on top of my site ..
    But NGG adds it again.
    Please create an opportunity to disable this option..
    I disabled this code:
    wp_register_script ('jquery-cycle', NGGALLERY_URLPATH. 'js / jquery.cycle.all.min.js', array (' jquery '), '2 .88');

    Thank you!

Viewing 1 replies (of 1 total)
  • Alex
    Member

    @bald_technologist

    One solution is to add this line to wp-config.php, which will disable loading all scripts for NextGen Gallery, though you will then need to load the ones you do want.

    define('NGG_SKIP_LOAD_SCRIPTS', 'true');

    This ensures that the plugin can still be upgraded, though it adds some complexity if you want to be able to easily change which slideshows are used on your site.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] Please, disable again registering jquery’ is closed to new replies.