Hi Salvatore,
happy to hear that it works! 🙂
Yes, that chunk of code is the important part to make the lightbox plugin work with markup that was generated by own functions.
» I will send soon a »tangible« thank you, since the whole explanation was really helpful with what I wanted to achieve with this template.«
Thanks a lot, it arrived ❤
Best,
Florian