Stop working
-
Hello,
I’m using this great plugin since years and i’m very happy with. But now, and i don’t know why, it’s stop working. I don’t remember in which step this happened… All code seems ok, no conflict, nothing in the console… I really need help !
ob_start();
foreach ($children as $child) :
if($child->getCnt()) :
echo $first == 0 ? "" : "<div class=\"vc-zigzag-inner\"></div>";;
echo do_shortcode('[masonry fid="' . $child->getId() . '"]');
$first = 1;
endif;
endforeach;
$out = ob_get_clean();
// Activate links in output.
if (function_exists('slb_activate')) $out = slb_activate($out);
// Display output.
echo $out;And the output seems ok :
<div class="grid" data-masonry='{ "itemSelector": ".grid-item", "columnWidth": ".grid-item", "gutter": 20, "isFitWidth": true }'>
<div class="grid-item img-lg w600 h420">
<a data-slb-active="1" data-slb-asset="1150025691" data-slb-internal="0" data-slb-group="slb">
<img width="600" height="420" src="https://sebastienj.com/wp-content/uploads/carnet-A5-27-600x420.jpg" class="attachment-medium size-medium" alt="" decoding="async" fetchpriority="high" srcset="https://sebastienj.com/wp-content/uploads/carnet-A5-27-600x420.jpg 600w, https://sebastienj.com/wp-content/uploads/carnet-A5-27-1024x717.jpg 1024w, https://sebastienj.com/wp-content/uploads/carnet-A5-27-200x140.jpg 200w, https://sebastienj.com/wp-content/uploads/carnet-A5-27-550x385.jpg 550w, https://sebastienj.com/wp-content/uploads/carnet-A5-27-1536x1076.jpg 1536w, https://sebastienj.com/wp-content/uploads/carnet-A5-27-835x585.jpg 835w, https://sebastienj.com/wp-content/uploads/carnet-A5-27.jpg 1666w" sizes="(max-width: 600px) 100vw, 600px" />
</a>
</div>
<div class="clear">
</div>When i deactivate Masonry the Lightbox still not working…
I really need help because since 2 days i try many things without result…
Thanks in advance
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.