Support » Plugin: Gallery Lightbox » Does not work on block gallery

  • Resolved kashmiri


    Works very well with a legacy gallery. After the gallery page duplicated and simply converted to blocks, the plugin no longer works (links go to media files only).

Viewing 3 replies - 1 through 3 (of 3 total)
  • kashmiri


    OK, resolved, thanks @ov3rfly for the hint.

    In gallery-lightbox-slider/inc/functions/glg-functions.php, line 140


    .photobox('.carousel-item:not(".bx-clone") > a:not(".icp_custom_link"),a.glg-a-custom-wrap, .gallery-item > dt > a', {


    .photobox('.carousel-item:not(".bx-clone") > a:not(".icp_custom_link"), a.glg-a-custom-wrap, .gallery-item > dt > a, .blocks-gallery-item > figure > a', {

    I can confirm @kashmiri’s code change works. Is it possible to include this fix in the next release?

    Damn, very usefull. We can make it compatible with any gallery by this simple change.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does not work on block gallery’ is closed to new replies.