Closed BAProductions closed 7 months ago
Unfortunately, gallery_shortcode()
does not provide the necessary hooks automatically activate the image links it generates.
However, you can use slb_activate()
to activate the links generated by that function for display in the lightbox when clicked. See SLB's Activation documentation for full details.
Actually, it does cause I've done it before
Description of Problem
if I render a gallery using gallery_shortcode function in the custom i'm building ATM, it link to attachment page or the file & not the light box below is the code im using witch works with the previous lightbox plugin Responsive Lightbox granted if im not using my own plugin to make the gallery render in a jetpack style slideshow.
Details