Caption with custom fields
-
Hi,
I discovered Everlightbox a few days ago and I really like it. The lightbox works so fine, much better than the other ones I tried. But I’ve a problem with the caption. I saw a discussion on that subject a few months ago but that doesn’t solve my problem.
With a small Envira gallery everything is working fine: lightbox opens with caption.
But also I make galleries with the plugin Advanced Custom Fields. I’ve the caption in the tag img, but the caption doesn’t appears in the link created activating Everlightbox. And of course no caption in the lightbox.
Here′s the code I’ve with one picture of my gallery.
<li> <a class="everlightbox-trigger" href="https://localhost/www/fincasc-new4/wp-content/uploads/visita-pedro-09.jpg" target="_blank"> <img src="https://localhost/www/fincasc-new4/wp-content/uploads/visita-pedro-09-150x113.jpg" alt="" caption="Visita a Pedro 9"> </a> </li>
Do you know a way to solve it? I’ve not a big experience with WordPress, perhaps I missed something…
- The topic ‘Caption with custom fields’ is closed to new replies.