You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a Kadence Fluid carousel Gallery, which opens the images in Lightboxes. I need some of those images to go externally to another page, so I thought of adding a link in the caption of the image with the code <a href="" target="_blank">TEXT</a>.
[Issue] In the thumbnail carousel the images are displayed correctly and the link is visible at the bottom of the image. However when I click to view it in lightbox: the linked captions lose the link and only the text is displayed. Also, images that have links as captions are duplicated in the lightbox carousel.
[Request] Regarding the request (I don't know if there is a specific section for it), it is related to the problem of losing the links in the lightbox:
Can you add the tag ‘a’ for the links in the lightbox captions?
I was checking your code in case I could do it myself through some filter, but I only found ‘kadence_blocks_pro_dynamic_gallery_caption’ which is applied before.
I found that on line 769 of class-kadence-blocks-advancedgallery-block.php there is a call to ‘strip_tags( html_entity_decode($caption, ENT_QUOTES, 'UTF-8') )’ with no tags arguments allowed. It would be interesting if you could include link tag as a second argument:
Hello,
I have created a Kadence Fluid carousel Gallery, which opens the images in Lightboxes. I need some of those images to go externally to another page, so I thought of adding a link in the caption of the image with the code
<a href="" target="_blank">TEXT</a>
.[Issue] In the thumbnail carousel the images are displayed correctly and the link is visible at the bottom of the image. However when I click to view it in lightbox: the linked captions lose the link and only the text is displayed. Also, images that have links as captions are duplicated in the lightbox carousel.
[Request] Regarding the request (I don't know if there is a specific section for it), it is related to the problem of losing the links in the lightbox:
Can you add the tag ‘a’ for the links in the lightbox captions?
I was checking your code in case I could do it myself through some filter, but I only found ‘kadence_blocks_pro_dynamic_gallery_caption’ which is applied before.
I found that on line 769 of class-kadence-blocks-advancedgallery-block.php there is a call to ‘strip_tags( html_entity_decode($caption, ENT_QUOTES, 'UTF-8') )’ with no tags arguments allowed. It would be interesting if you could include link tag as a second argument:
Also the ‘strong’ tag for bold would be interesting.
As for the image duplication problem when opening in Lightbox images with links in caption I haven't found yet in the code what might be happening.
Thanks for your work on this very complete plugin.
I look forward to your reply, thank you very much in advance.
Best regards,
Marina.
The text was updated successfully, but these errors were encountered: