In this example:
Ajax Load More will infinite scroll a gallery of images that are attached to a specific post.


The following shortcode was used to create the Attachments example.

[ajax_load_more post_type="attachment" custom_args="post_parent:20011post_status="inherit" preloaded="true"]

Note: When loading attachments you must always define a post_parent ID and set post_status=”inherit” in the shortcode.

The following Repeater Template was used to create the Attachments example.