In this example:
Ajax Load More will load Repeater field data from Advanced Custom Fields using the ACF extension.

The Repeater field for Advanced Custom Fields allows users to create a set of sub fields which can be repeated over and over again while creating content – Ajax Load More is used to loop over each item in the repeater and display the results with infinite scrolling.

🔥  Use the Search Engine Optimization add-on to create paging URLs of repeater content.


Jeff Edmuson

Sed posuere consectetur est at lobortis. Nulla vitae elit libero, a pharetra augue.

Marcia Craig

Lorem ipsum dolor sit amet, consectetur elit. Donec ullamcorper nulla non metus auctor fringilla.

Jeff Sandburg

Donec ullamcorper nulla non metus auctor fringilla.

Henry Vulkin

Sed posuere consectetur est at lobortis. Nulla vitae elit libero, a pharetra augue.

The following shortcode was used to create the Repeater Field example.

[ajax_load_more preloaded="true" preloaded_amount="4" theme_repeater="acf-repeater-field.php" posts_per_page="4" pause="true" pause_override="true" scroll="true" button_label="Load More" button_loading_label="Loading..." acf="true" acf_field_type="repeater" acf_field_name="repeater_our_teamcontainer_type="div" css_classes="alm-acf-team-example" transition="fade"]

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

Note: Don’t forget to use the get_sub_field function when accessing repeater field data.