In this example:

Ajax Load More will destroy itself immediately after the 3rd page of results has been loaded.

The destroy_after parameter essentially kills the load more process after {x} number of pages.


    The following shortcode was used to create the Destroy After example.

    [ajax_load_more posts_per_page="3" destroy_after="3"]

    The following Repeater Template was used to create the Destroy After example.