how to add rel=”lightbox” to gallery images
-
I have lightbox installed that displays the lightbox image effect when a user clicks on an image thumbnail…
However when I add a gallery in wordpress I can’t use the lightbox effect as it doesn’t add the rel=lightbox code and I can’t edit the html manually as it uses wordpress shortcode.
How can I have it so i can use lightbox on my wordpress galleries??
EDIT: also the wordpress gallery adds a
<style>
tag just before the gallery containing styles. This ruins w3c validation as style tags are only allowed in<head>
. Why does it do this and is there a better way??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to add rel=”lightbox” to gallery images’ is closed to new replies.