Can't activate JetPack's infinite scroll.
-
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?
- The topic ‘Can't activate JetPack's infinite scroll.’ is closed to new replies.