[Plugin: NextGEN Gallery] Skip load scripts
-
I notice the latest version of Next Gen Gallery (1.6.2) has an additional constant ‘NGG_SKIP_LOAD_SCRIPTS’. However I’m not sure how to use it?
Here’s line 322-4 of nggallery.php:
// if you don't want that NGG load the scripts, add this constant if ( defined('NGG_SKIP_LOAD_SCRIPTS') ) return;
Can I modify my theme to prevent additional scripts loading in wp_head()?
The alternative is to comment out lines 125-6, but this of course gets overwritten at upgrade:
//add_action('template_redirect', array(&$this, 'load_scripts') ); //add_action('template_redirect', array(&$this, 'load_styles') );
Would be good if this was an admin option.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: NextGEN Gallery] Skip load scripts’ is closed to new replies.