CSS scripts WordPress

jQuery lightGallery

February 3, 2016 | 351 views |

Sometimes I want to embed a gallery inside a bootstrap collapsible paragraph, but Fotorama doesn’t work inside bootstrap collapsible shortcodes. I stumbled into this great jQuery lightGallery and I manage to get it to work inside the bootstrap collapsible shortcodes. To extensively use this lightGallery, you do need support from the owner. I just use this for simple Gallery display.

Since I don’t want to load too many scripts on my website, they tend to slow down the page load, so I create shortcodes to load these lightGallery scripts and use them only when needed.


this is my gallery inside collapsible post

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.