Disable plugin for specific image links.
-
Hi,
I would like to disable the plugin just for wikipedia images (commons.wikimedia.org), opening the links in a different tab.
Is it possible?
Before Responsive Lightbox I used another plugin, in that case I placed in my footer.php this little script:
<script type=”text/javascript”>
jQuery(document).on(‘ready’, function(){ jQuery(‘a[href*=”commons.wikimedia.org”]’).addClass(‘nolightbox’); });
</script>Could I do something similar with Responsive Lightbox?
Many thanks in advance.
A.
- The topic ‘Disable plugin for specific image links.’ is closed to new replies.