• Resolved arnaud.stopa

    (@arnaudstopa)


    Hi everyone!

    I am quitting looking for an answer….

    I have a full custom template.

    Here is one of my website post http://www.acouphene-mag.com/concerts/silverstein/

    I tried everything, but the Fancybox does not work.

    I changed to Twenty Fifteen, it works. But that’s it.
    My plugins are: Jetpack, Cyclone Slider, Back to the Future and WordPress SEO. Disable them, does not work also.
    Image.php is the same as in Twenty Fifteen. No attachment.php.

    I think the problem is that the plug in cannot write the rel in the

    So, any idea?

    Thank you.

    https://ww.wp.xz.cn/plugins/easy-fancybox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • There is a show-stopper blocking javascript error occurring:

    Uncaught TypeError: $container.imagesLoaded is not a function

    It’s coming from this snippet you have in your themes footer:

    jQuery( document ).ready( function( $ ) {
        /* Masonry + Infinite Scroll */
        var $container = $('#grid-container');
        $container.imagesLoaded(function () {
            $container.masonry({
                itemSelector: '.post'
            });
        });
    ...

    I suspect the lack of a div with id “grid-container” is causing this error. So either add an if statement or maybe simply remove the line var $container = $('#grid-container'); and then replace all $container with $('#grid-container')?

    Thread Starter arnaud.stopa

    (@arnaudstopa)

    Thank you. It works 🙂

    Thread Starter arnaud.stopa

    (@arnaudstopa)

    Solved

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

The topic ‘[Plugin:Easy Fancybox] does not work with custom template’ is closed to new replies.