Betiok
8/25/2017 - 3:06 PM

Infinite Scrolling

Infinite Scrolling

/* Infinite Scroll */

$('.infinite-scroll').jscroll({
	padding: 0,
	nextSelector: '.pagination .next',
	contentSelector: '.infinite-scroll'
});
wp_register_script('jscroll', get_template_directory_uri() . '/js/jquery.jscroll.js', array('jquery'), '2.3.9');
wp_enqueue_script('jscroll');