archetyped / simple-lightbox

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

[Request]: Enable/Disable on Specific Post/Page #1087

Closed Tabbinski closed 1 month ago

Tabbinski commented 1 month ago

Description of feature

It would be cool if there was a way to deactivate Simple Lightbox on select pages or posts by inputting page/post ID# in an exceptions box.

This feature would be used to

I have SLB deployed sitewide and it works great to zoom images as needed. I also have Envira Gallery deployed on a single page. It would be nice if I could make an exception for that one page as both lightboxes open on click. It's not a big deal and I'll still shave my cat if you don't implement it but it would be a handy additional feature,

If you added this feature, I would:

a) Shave my hat b) Joy for jump c) Eat my cat d) Some of the above

archetyped commented 1 month ago

Duplicate of #272 - best to add your vote and comments to the existing post to keep all discussion in one place.

In the meantime, you can use the [slb_exclude] shortcode to exclude any part of a post's/page's content (such as a gallery). See SLB's Shortcodes documentation for more details.