Very nice Enfold update! Could you help me with captions in the new horizontal gallery element? When opening the images in the lightbox the captions should be displayed under the image. Thank you for assistance!
Hello, I too would like to figure this out. I’m adding captions to all the images in the horizontal gallery, but they’re not showing. How can I make them show? Thank you.
Hi,
Thank you for using our theme.
Currently this is not possible, but for the next release I added an option to choose what image text you want to display below the images (defaults to title).
Meanwhile you have to change the core file enfold\config-templatebuilder\avia-shortcodes\gallery_horizontal.php.
Around line 330 you find the following code:
$output .= "<a href='{$lightbox}' class='av-horizontal-gallery-link' {$display_char}>";
Replace this line with:
$output .= "<a href='{$lightbox}' class='av-horizontal-gallery-link' {$display_char} title='{$attachment->post_excerpt}'>";
This should display the captions below the lightbox image.
Best regards,
Günter
Thank you very much, Günter! The code works as expected!
Hi there!
Hi! We’re glad that Günter was able to help you! Do you need further assistance with this, or can we close this thread?
Thank you for using Enfold.
Cheers!
Sarah
Hi Sarah, captions in horizontal galleries are displayed now, so please close this thread!
That’s great. :)
For any other questions or issues, feel free to post them here on the forum and we will do our best to assist you.
For your information, you can also take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
We’d also appreciate it if you can take a moment to review our theme if you haven’t already. https://themeforest.net/downloads
Thank you for using Enfold.
Cheers!
Sarah