Hi everyone,
I don't use the slideshow feature of the plugin and my site is working perfectly without ngg.slideshow.min.js and jquery.cycle.all.min.js
But when I remove this code
// required for the slideshow
if ( NGGALLERY_IREXIST == true && $this->options['enableIR'] == '1' && nggGallery::detect_mobile_phone() === false )
wp_enqueue_script('swfobject', NGGALLERY_URLPATH .'admin/js/swfobject.js', FALSE, '2.2');
else {
wp_register_script('jquery-cycle', NGGALLERY_URLPATH .'js/jquery.cycle.all.min.js', array('jquery'), '2.88');
wp_enqueue_script('ngg-slideshow', NGGALLERY_URLPATH .'js/ngg.slideshow.min.js', array('jquery-cycle'), '1.05');
}
from the nggallery.php, the Jquery isn't loading anymore.
What does
wp_register_script('jquery-cycle', NGGALLERY_URLPATH .'js/jquery.cycle.all.min.js', array('jquery'), '2.88');
do to not make my jquery loading?
Thanks,
Ben