$('.site-main').infiniteScroll({ // options path: '.pagination__next', append: '.entry-content', history: false, });