[Plugin: jQuery Colorbox] Need option to load JS in footer
-
Hi,
I just had to hunt down a bug that turns out to be solved if I call enqueue_script with in_footer set to true. I dug into the plugin code and there’s totally an option for it, but it’s commented out on the settings page! Just want to place a vote for it, I’m not sure why it’s disabled. Right now my workaround is to deregister “colorbox” and “colorbox-wrapper” and then add them back with in_footer set to true.
(The bug is caused by the fact that I’m loading my own version of jQuery in the footer, as detailed here: https://beneverard.co.uk/blog/wordpress-loading-jquery-correctly-version-2/)
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: jQuery Colorbox] Need option to load JS in footer’ is closed to new replies.