Gallery – No Image Captions

Posted in: Newspaper
Post count: 7

Gallery on homepage of https://staging.gayety.com does not populate the image captions, despite them being set to show.

Post count: 27744

Hello,

For me, this is displayed -> https://i.imgur.com/bZg3Ykt.jpeg. Please let me know if you use the gallery from ACF pro.

Thank you!

Post count: 7

Hi I don’t see how the image you linked is relevant.

Yes we do use the gallery field from ACF pro for this.

I have implemented a workaround with a javascript to extract the alt attribute and append that as a caption, but the default behavior of the theme/tagDiv does not display the caption.

If there’s any way we could get it to work natively with the theme, that would be preferred.

Post count: 27744

Hello,

Unfortunately, if you are using the ACF pro version for the gallery, the theme option does not apply. It only displays captions for those created from posts/custom posts. To show captions with ACF, custom modifications are required. Please check this guide ->
https://theme.co/forum/t/display-caption-or-description-of-acf-gallery-image/103351

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.