[Plugin: WP jQuery Lightbox] Not working in sidebar
-
Hi,
First of all, let me thank you for your work on this plugin. It’s great!
I’ve decided to move a gallery I had in post body to the sidebar and it stopped working.
what am I doing?
well, I’ve instaled the “PHP Code widget” and dragged it to the sidebar, then I add
<?php echo do_shortcode('[gallery]'); ?>
and..that’s it.
The gallery is correctly displayed but the rel=”lightbox” is not there. So when I click it, I jump to the picture page.
I’ve read through the forum and it seem you suggested using
jqlb_apply_lightbox(do_shortcode('[gallery columns="4" link="file"]'), "any ID");
I’ve used this code in the PHP call..but still not working.
Can you help?
cheers,
miguelhttps://www.ads-software.com/extend/plugins/wp-jquery-lightbox/
- The topic ‘[Plugin: WP jQuery Lightbox] Not working in sidebar’ is closed to new replies.