From 5739332cf4177e5744f4a9ffaeb6dc85452b2eed Mon Sep 17 00:00:00 2001 From: uncovery Date: Sat, 19 Mar 2016 15:04:33 +0800 Subject: [PATCH] lightbox in footer --- unc_gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unc_gallery.php b/unc_gallery.php index ddb6d72..082d885 100644 --- a/unc_gallery.php +++ b/unc_gallery.php @@ -120,7 +120,7 @@ function unc_gallery_add_css_and_js() { wp_enqueue_style('unc_gallery_css', plugin_dir_url( __FILE__ ) . 'css/gallery.css'); // lightbox - wp_register_script('unc_gallery_lightbox_js', plugin_dir_url( __FILE__ ) . 'js/lightbox.min.js', array(), '2.8.2', false); + wp_register_script('unc_gallery_lightbox_js', plugin_dir_url( __FILE__ ) . 'js/lightbox.min.js', array(), '2.8.2', true); wp_enqueue_script('unc_gallery_lightbox_js'); wp_enqueue_style('unc_gallery_lightbox_css', plugin_dir_url( __FILE__ ) . 'css/lightbox.min.css'); }