jQuery(document).ready(function() { // console.log("start"); document.documentElement.style.setProperty('--flexi_padding', jQuery("#padding").text()); jQuery('[data-fancybox-trigger').fancybox({ selector: '.flexi_show_popup_on a:visible', thumbs: { autoStart: true }, protect: true, caption: function(instance, item) { //This is not working on ajax loading. only for for page navigation. // return jQuery(this).closest('flexi_media_holder').find('flexi_figcaption').html(); return jQuery(this).find('.flexi_figcaption').html(); } }); }); lang="en-US"> Primary Gallery - Dream job blog
Dream job blog

Primary Gallery

No records
false
0
10
3
0px
flexi_effect_2
flexi_caption_4
,title:on,excerpt:on,custom:on,icon:on,category:on,tag:on,count:on,like:on,unlike:on,author:on,date:on,
371
publish
Exit mobile version