Lightbox only working some of the time in WP Image Widget captions
-
URL in question: https://software-qa.sil.org/andika/
I want to provide Creative Commons attributions for stock photos and have
rel="lightbox"
in several places:- Home page underneath big orange banner image via Edit Page
- Home page underneath each square image via Caption within Image Widget
These optional links are simple text hyperlinks that, when clicked, are supposed to open the images in popups. Here’s the weird part: the links within Image Widget captions ONLY work if there’s one created for the orange banner. If no CC attribution is needed for banner image, then none of the lightbox links in the Image Widgets work. They all have
rel="lightbox"
specified, but they are ignored, and clicking the links leaves the page and opens the image the old-fashioned way.I don’t have any custom CSS, JS or other WP widgets impacting these links, and they work perfectly fine elsewhere on the site. Chrome Web Inspector reveals the link syntax are exactly the same in both places, and these two areas are not related in any way. So why do the Image Widget lightboxes not work unless the banner image lightbox is specified?
Thanks, Eddie
- The topic ‘Lightbox only working some of the time in WP Image Widget captions’ is closed to new replies.