Enhancement request
-
Thanks again for the plugin (I’ve just written the first review).
One thing would be a reeeeeallly nice addition: the ability to switch it off on certain pages/posts etc. I’m thinking particularly of things like WooCommerce, which already loads photoswipe and where it could cause compatibility problems (though I haven’t spotted any so far). There will undoubtedly be other situations where loading the images into photoswipe doesn’t make sense and where the ability to selectively disable it would be nice.
Would it be possible to apply a filter somewhere, so that we can add a filter in child themes? This would allow us, for example, to switch it off in WooCommerce product pages with
is_product()
. (Unfortunately, WooCommerceis_product()
is loaded quite late, so it cannot be added to theif(!is_admin())
condition in the plugin’s construct function.)
- The topic ‘Enhancement request’ is closed to new replies.