Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #232660

    Hi, when using the Enfold gallery, the caption/title of an image shows up with the thumbnails, but not when the image is enlarged in the lightbox. Any way to add the caption/title there (just like the standard wordpress gallery has it)? thanks!

    #234732

    would be great to find out how the image caption can be displayed as this is a function present in the standard wordpress gallery. thanks!

    #235315

    Hey!

    Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/gallery.php and replace:

    
    $description = trim($attachment->post_content) ? esc_attr($attachment->post_content) : "";
    

    with

    
    $description = trim($attachment->post_content) ? esc_attr($attachment->post_content) : esc_attr(trim($attachment->post_excerpt));
    

    We’ll add this fix to the next update.

    Regards,
    Peter

    #235409

    thanks! that worked out great!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Caption in Lightbox for Gallery Images’ is closed to new replies.