Scripts not loading in footer
-
Hey there, there’s a missing bit of code on
responsive-lightbox.phpon lines 1314-1315. Thewp_register_scriptcalls forresponsive-lightbox-infinite-scrollandresponsive-lightbox-images-loadedare missing theversionandin_footerparameters. Without this in place, jQuery will still load in the header even if it’s set via the plugin settings to load in the footer.Please add
Responsive_Lightbox()->defaults['version']and( Responsive_Lightbox()->options['settings']['loading_place'] === 'footer' )to thesewp_register_scriptcalls so that scripts load where they’re supposed to.
The topic ‘Scripts not loading in footer’ is closed to new replies.