Givan below shortcode was used to create the Infiinte Scroll example.

[cpt_ajax_load_more post_type="demo_post" scroll="true"]