Tagged: caption, description, easy slider, enfold, error, html, jQuery, Lightbox, php
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
November 26, 2016 at 11:41 am #717195November 29, 2016 at 6:16 am #718110
Hey NGdesign6!
Thank you for using Enfold.
The lightbox requires the title of the actual image or the image’s parent, usually a link tag. It cannot fetch the value of the title or caption field. Unfortunately, you have to specify the title and the description of the image in the Media > Library separately. If you want to modify the theme’s lightbox integration, edit the js > avia.js file, look for the following code.
image: { titleSrc: function(item){ var title = item.el.attr('title'); if(!title) title = item.el.find('img').attr('title'); if(!title) title = item.el.parent().next('.wp-caption-text').html(); if(typeof title == "undefined") return ""; return title; } },
Unfortunately, this modification is quite extensive and it is outside the scope of support. Please hire a freelance developer or contact our partner, codeable.
// http://kriesi.at/contact/customization
Best regards,
Ismael -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.