Hi, loading multiple lightboxes on the same page can cause conflicts because they are usually designed to activate the same links (e.g. images).
However, you can disable SLB using the [slb_exclude] shortcode to stop SLB from activating specific links. See here for more information on [slb_exclude].
Hi, thanks so far. I read the article, and I think I missed something.
In my page I added this lines:
{slb_group id=”group-2″}[gallery link="file" size="medium" ids="236,237,238"]{/slb_group}
and
{slb_group id=”group-1″}[gallery link="file" columns="2" size="medium" ids="142,143"]{/slb_group}
But that doesn’t work. Do I need to put some code in functions.php?
I don’t understand what code and where.
Could you please help me, I guess we’re almost there.
Kind Regards,
Debby
Hi, there’s a note in the post about switching curly braces ({) with square braces ([) when using the shortcodes. Unfortunately, WordPress was messing with the formatting when using square braces.
Make the switch and the shortcodes will work.
Also, there’s an option in SLB’s settings to automatically group galleries so you don’t have to manually add [slb_group] shortcodes.
Now it works great! Thank you so much!!
Kind Regards,
Debby
Awesome, glad to hear it 🙂