archetyped / simple-lightbox

The highly customizable lightbox for WordPress
http://archetyped.com/tools/simple-lightbox/
GNU General Public License v2.0
74 stars 33 forks source link

Disable lightbox for a specific http link #1059

Closed pescafab closed 6 months ago

pescafab commented 7 months ago

Hi, I would like to disable lightbox for a specific link because the link should redirect to a new page insted of showing the image on my website. Since the image has a http url, I can not see the preview on my https website. So a solution could be to create a link with

target='_blank'

that will open the image on a new tab with original http url. But now instead of opening new browser tab, lightbox starts loading and it remains loading because of error with https. How can I disable lightbox and allow browser opening new tab with original image url?

Thank you

archetyped commented 6 months ago

Hi, links can be excluded using the [slb_exclude] shortcode.

See SLB's Shortcode documentation for full details.

Thanks.