If you don’t want the lightbox to be displayed, add this to your theme’s functions.php file:
remove_action( 'wp_footer', array( Envira_Shortcode_Lite::get_instance(), 'gallery_init' ), 1000 );
That should prevent it from loading. Would you consider giving the plugin a 5-star review? I’ve just pushed an update to fix numerous things including lifting the gallery creation limit.
I’m still reviewing it and will definitely take a closer look with the new update.
That remove_action produces a fatal error if the plugin is not active. Is there a conditional I can throw in there so it doesn’t take down the whole site if I deactivate the plugin for a second?
Sorry, here’s the Error:
Fatal error: Class 'Envira_Shortcode_Lite' not found in /path/to/theme/functions.php on line 885
And it actually produces the error regardless of whether the plugin is activated or not.
Apologies – here is the proper way to make that happen:
if ( class_exists( 'Envira_Gallery_Lite' ) ) {
remove_action( 'wp_footer', array( Envira_Gallery_Shortcode_Lite::get_instance(), 'gallery_init' ), 1000 );
}
This last option does not (no longer?) work on WP 3.9 – is there another solution?