Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » [Plugin: NextGEN Gallery] Please, disable again registering jquery

  • 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

    (@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.