Support » Plugin: WP jQuery Lightbox » Captions Not Showing up with Jetpack Gallery Tiles

Viewing 3 replies - 1 through 3 (of 3 total)
  • For anyone who has this problem, I managed to find a fix. It required modifying the plugin. But essentially, you need to open up the jquery.lightbox.js file in the plugin, go to line 192 and add:

    else if(jqThis.parent().find('.tiled-gallery-caption').html()){
    	caption = jqThis.parent().find('.tiled-gallery-caption').html();
    	captionText =jqThis.parent().find('.tiled-gallery-caption').text()

    The plugin by default doesn’t look for the tiled gallery captions since the classes are a little different. Additionally, you’ll either need to covert this js to a jquery.lighbox.min.js and overwrite the original or go into wp-jquery-lightbox.php and change line 22 to define jquery.lightbox.js

    Hope this helps anyone else who might come across the same issue. Perhaps this can be added to the next release of this plugin!


    Thanks for the solution.
    I had change the js as your introduction, but it seems doesn’t work.
    Could you upload your jquery.lighbox.js for people who have this problem to download?

    Thnaks very much

    It works now, I think it’s cache problem so I don’t see the caption,
    Thanks so much

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Captions Not Showing up with Jetpack Gallery Tiles’ is closed to new replies.