title: Change URL (with pushState) using Infinite Scroll in WordPress
body: <p>I've set up the infinite scroll from here and it works: <a href="https://github.com/pklauzinski/jscroll" rel="nofollow">https://github.com/pklauzinski/jscroll</a>. Additionally  I would like to change the URL in the browser address bar but I can't get it working. There is a similar solution on <a href="https://github.com/wataruoguchi/clever-infinite-scroll" rel="nofollow">https://github.com/wataruoguchi/clever-infinite-scroll</a> but I would like to load only the next post always and not all the posts called by the selector.</p>
  
  <p>How could I use pushState with jScroll? The goal is to use jScroll and the URL needs to be changed when scrolling to previous or next posts.</p>