Title: Ajax Load More for Advanced Custom Fields
Author: Darren Cooney
Published: <strong>May 4, 2017</strong>
Last modified: November 13, 2025

---

Search plugins

![](https://ps.w.org/ajax-load-more-for-acf/assets/banner-772x250.jpg?rev=2848165)

![](https://ps.w.org/ajax-load-more-for-acf/assets/icon-128x128.png?rev=2848165)

# Ajax Load More for Advanced Custom Fields

 By [Darren Cooney](https://profiles.wordpress.org/dcooney/)

[Download](https://downloads.wordpress.org/plugin/ajax-load-more-for-acf.1.4.0.zip)

 * [Details](https://wordpress.org/plugins/ajax-load-more-for-acf/#description)
 * [Reviews](https://wordpress.org/plugins/ajax-load-more-for-acf/#reviews)
 *  [Installation](https://wordpress.org/plugins/ajax-load-more-for-acf/#installation)
 * [Development](https://wordpress.org/plugins/ajax-load-more-for-acf/#developers)

 [Support](https://wordpress.org/support/plugin/ajax-load-more-for-acf/)

## Description

**Ajax Load More for Advanced Custom Fields** provides additional functionality 
for infinite scrolling Flexible Content, Gallery, Repeater and Relationship field
data with Ajax Load More.

Easily access [Repeater](https://advancedcustomfields.com/resources/repeater/), 
[Gallery](https://advancedcustomfields.com/resources/gallery/), [Flexible Content](https://advancedcustomfields.com/resources/flexible-content//)
and [Relationship](https://advancedcustomfields.com/resources/relationship/) custom
field data from a page or post and return the results to Ajax Load More for infinite
scrolling.

**[View Documentation](https://connekthq.com/plugins/ajax-load-more/extensions/advanced-custom-fields/)**

#### Supported Field Types

The following ACF [Field Types](https://www.advancedcustomfields.com/resources/#field-types)
are supported:

 * **Gallery** – The gallery field provides a simple and intuitive interface for
   managing a collection of images.
 * **Flexible Content** – The flexible content field acts as a blank canvas to which
   you can add an unlimited number of layouts with full control over the order.
 * **Relationship** – The Relationship field creates a very attractive version of
   the post object field. With a Relationship field, you can select from pages +
   posts + custom post types.
 * **Repeater** – The repeater field allows you to create a set of sub fields which
   can be repeated again and again whilst editing content.

#### Shortcode Parameters

The following Ajax Load More shortcode parameters are available when the Advanced
Custom Fields extension is activated.

 * **acf** – Enable compatibility with Advanced Custom Fields. (true/false)
 * **acf_post_id** – The ID of the current page/post. Default = $post->ID
 * **acf_field_type** – The type of ACF field. (gallery/flexible/relationship/repeater)
 * **acf_field_name** – The name of the ACF field.
 * **acf_parent_field_name** – Access sub field data up to the three levels deep.
 * **acf_row_index** – Access sub field data in a Repeater or Flexible Content field
   by row index.

#### Example Shortcode

    ```
    [ajax_load_more repeater="default" acf="true" acf_field_type="repeater" acf_field_name="{your_field_name}"]
    ```

## Installation

#### Uploading in WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Navigate to the ‘Upload’ area
 3. Select `ajax-load-more-for-acf.zip` from your computer
 4. Click ‘Install Now’
 5. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `ajax-load-more-acf.zip`.
 2. Extract the `ajax-load-more-for-acf` directory to your computer.
 3. Upload the `ajax-load-more-for-acf` directory to the `/wp-content/plugins/` directory.
 4. Ensure Ajax Load More is installed prior to activating the plugin.
 5. Activate the plugin in the WP plugin dashboard.

## FAQ

### What version of Ajax Load More is required?

You must have v3.0+ of Ajax Load More installed.

### How do I use this extension?

Once installed, visit the Ajax Load More Shortcode Builder and build a custom shortcode
specifying the ACF field type (acf_field_type) and field name (acf_field_name).

### What field types of Advanced Custom Fields are supported?

Gallery, Flexible Content, Repeater and Relationship fields are currently supported.

### How do I infinite scroll Repeater fields with Ajax Load More

Create an [ajax_load_more] shortcode and set `acf_field_type="repeater"`.

### How do I infinite scroll Relationship fields with Ajax Load More

Create an [ajax_load_more] shortcode and set `acf_field_type="relationship"`.

### How do I infinite scroll Gallery fields with Ajax Load More

Create an [ajax_load_more] shortcode and set `acf_field_type="gallery"`.

### How do I infinite scroll Flexible Content fields with Ajax Load More

Create an [ajax_load_more] shortcode and set `acf_field_type="flexible"`.

## Reviews

![](https://secure.gravatar.com/avatar/15df1339ddd5c70e21cab17209f5477815d43539633ca8c6a12b5fffeeb76231?
s=60&d=retro&r=g)

### 󠀁[Thanks for your help!](https://wordpress.org/support/topic/thanks-for-your-help-7/)󠁿

 [alexiusgrey](https://profiles.wordpress.org/alexiusgrey/) June 8, 2022 1 reply

With your support I realized my task, ACF flexible content with ajax loading.

![](https://secure.gravatar.com/avatar/bc4811254f1b9770f9aef349ccabeea37d7471e0beec475f95c280f3b53ce308?
s=60&d=retro&r=g)

### 󠀁[I couldn’t make it work](https://wordpress.org/support/topic/i-couldnt-make-it-work/)󠁿

 [MarkJ](https://profiles.wordpress.org/forusak/) August 7, 2020 1 reply

I couldn’t make it work, documentation is not clear enough, it’s confusing. Big 
con is that it needs another plugin which is quite large. This needs a standalone
small solution.

![](https://secure.gravatar.com/avatar/341b49706db1005b58710d6cb3b2e9933baac25395d104dd57726d280c810834?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-6242/)󠁿

 [mebishwak090](https://profiles.wordpress.org/mebishwak090/) December 17, 2018

Such a helpful tool to create professional ajax loaded content on my website using
ACF contents – thank you!

![](https://secure.gravatar.com/avatar/9f0c2199490a2978e3f1e4f4e2dd6dd4e74e491c1f8122a643f632785673a87d?
s=60&d=retro&r=g)

### 󠀁[Awesome for sites made with ACF](https://wordpress.org/support/topic/awesome-for-sites-made-with-acf/)󠁿

 [sadesades](https://profiles.wordpress.org/sadesades/) June 22, 2017 1 reply

Works great a little confusion at the start but got it working after reading several
times and following the author examples, works very nice with ACF galleries

![](https://secure.gravatar.com/avatar/8dde60f5e85af4500a28b930564c9542b676c80c67a844689722b285175e7873?
s=60&d=retro&r=g)

### 󠀁[Another great tool by Connekt Media](https://wordpress.org/support/topic/another-great-tool-by-connekt-media/)󠁿

 [gecko_guy](https://profiles.wordpress.org/gecko_guy/) May 11, 2017 1 reply

Great, another superb addition to the Ajax Load More toolset. While it was possible
to hand code the functions that this tool provides before, this plugin makes it 
simpler and faster to get things done. Less head scratching, more getting things
done! Really nice, thanks Darren 🙂

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/)

## Contributors & Developers

“Ajax Load More for Advanced Custom Fields” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Darren Cooney ](https://profiles.wordpress.org/dcooney/)

[Translate “Ajax Load More for Advanced Custom Fields” into your language.](https://translate.wordpress.org/projects/wp-plugins/ajax-load-more-for-acf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/ajax-load-more-for-acf/),
check out the [SVN repository](https://plugins.svn.wordpress.org/ajax-load-more-for-acf/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/ajax-load-more-for-acf/)
by [RSS](https://plugins.trac.wordpress.org/log/ajax-load-more-for-acf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.4.0 – November 13, 2025

 * NEW: Added support for Ajax Load More Cache 3.0.
 * UPDATE: Various code cleanups and organization.

#### 1.3.4 – June 5, 2025

 * NEW: Adding Ajax Load More as a required plugin.
 * UPDATE: Code cleanup, readme and WP tested version.

#### 1.3.3 – November 11, 2024

 * UPDATE: Readme, contributors, WordPress tested version

#### 1.3.2 – June 11, 2023

 * NEW: Added support for accessing sub field data in Repeater or Flexible Content
   field types by row index.
 * UPDATE: Updated to add compatibility with Cache Add-on 2.0 and Ajax Load More
   6.0.
 * FIX: Fixed issue with broken Paging add-on and ACF extension.

#### 1.3.1 – December 30, 2022

 * FIX: Fixed issue with undefined `$page` variable when using Repeater field.
 * FIX: Fixed issue with `$alm_item` variable being off in preloaded queries.
 * UPDATE: Code cleanup and organization.

#### 1.3.0.1 – March 6, 2020

 * FIX – Fix for issue with Relationship field type show PHP warning message about
   undefined variable.

#### 1.3.0 – October 22, 2019

 * UPGRADE NOTICE – Users updating to the latest ACF extension must also update 
   core Ajax Load More to 5.1.6 to get sub_field support.
 * NEW – Added support for infinite scrolling nested sub fields (`acf_parent_field_name`).
   Up to 3 levels of nesting is supported.
 * UPDATE – Removed legacy API endpoint.

#### 1.2.0 – May 6, 2019

 * UPGRADE NOTICE – This update requires Ajax Load More 5.1+.
 * NEW – ACF extension now uses the WordPress REST API for Ajax queries. This change
   can be reverted in ALM Settings.

#### 1.1.2 – September 19, 2018

 * FIX – Fixed cache creation issue with Cache add-on and Repeater and Flexible 
   Content fields.
 * FIX – Fixed issue with `offset` parameter not working in preloaded Ajax Load 
   More query.
 * FIX – Fixed PHP warning message about undefined variable.

#### 1.1.1 – October 5, 2017

 * NEW – Adding new `alm_get_acf_gallery_theme_repeater` function for integration
   between Theme Repeaters (add-on) and the Gallery Field Type.

#### 1.1 – May 22, 2017

 * NOTICE – Requires Ajax Load More 3.0.1+
 * NEW – Added support for Gallery field type.
 * NEW – Added support for Flexible Content field type.

#### 1.0 – May 4, 2017

 * Initial Release.

## Meta

 *  Version **1.4.0**
 *  Last updated **8 months ago**
 *  Active installations **2,000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **6.8.5**
 * Tags
 * [acf](https://wordpress.org/plugins/tags/acf/)[advanced custom fields](https://wordpress.org/plugins/tags/advanced-custom-fields/)
   [ajax load more](https://wordpress.org/plugins/tags/ajax-load-more/)[custom fields](https://wordpress.org/plugins/tags/custom-fields/)
   [infinite scroll](https://wordpress.org/plugins/tags/infinite-scroll/)
 *  [Advanced View](https://wordpress.org/plugins/ajax-load-more-for-acf/advanced/)

## Ratings

 4.6 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/ajax-load-more-for-acf/reviews/)

## Contributors

 *   [ Darren Cooney ](https://profiles.wordpress.org/dcooney/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/ajax-load-more-for-acf/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://connekthq.com/donate/)