How to create infinite scroll in wordpress for blog and custom post type. I have tried jetpack infinite scroll but its not working on custom wordpress page template for custom post type. I looked at this tutorial but it seems old
And also looked this one https://github.com/infinite-scroll/infinite-scroll but this project is no longer maintained.
Please tell me or recommend some new tutorials that are compatible with Wordpress 4.5 for create infinte scroll.