• Hi!

    I have a site, which blog if working with Isotope. The client wants to make infinite scroll to it, like there will be only 6 articles and an arrow, if user clicks on arrow other 6 article loaded.
    I use:

    function infScroll(){
      add_theme_support( 'infinite-scroll', array(
          'container' => 'isotope',
          'footer' => false,
          'type' => 'click',
      ));
    }
    add_action('after_setup_theme', 'infScroll');

    But when I check it with
    Jetpack::is_module_active( 'infinite-scroll' )
    It’s dump out that it’s false, so the module is not active.

    The wrapper around the articles is div#isotope.

    I already read these documentations:
    https://jetpack.me/support/infinite-scroll/
    https://wptheming.com/2013/04/jetpack-infinite-scroll-masonry/

    The other problem was, that JetPack’s javascript trigger:
    $(document.body).on('post-load', function(){});
    not even works.

    Can everybody see what I’m missing?

    https://www.ads-software.com/plugins/jetpack/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Could you go to Jetpack > Settings in your dashboard, and make sure the Infinite Scroll module is active?

    If it is, and Infinite Scroll still isn’t triggered, could you try to switch to one of the default themes, like Twenty Fifteen, for a few minutes, and let me know if Infinite Scroll works there?

    Thread Starter succli

    (@succli)

    Yes, the module was not active, but nobody mentioned there is a setting like this..

    It works, but $(document.body).on('post-load', function(){}); still not.

    Is there any module for that?

    Thread Starter succli

    (@succli)

    I see, it triggers after I push the button.
    The new items loads, but Isotope animation is not running.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Isotope animation is not running.

    Could you let me know how you’ve developed this animation? Do you see any Javascript errors when the function is triggered?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't activate JetPack's infinite scroll.’ is closed to new replies.