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.