Jetpack Infinite Scroll for search results

Learn how to enable Jetpack's Infinite Scroll in search results using a filter and how to disable it for a custom post type archive.