Ajax Load More for Advanced Custom Fields

plugin banner

Ajax Load More extension that adds compatibility with various field types for Advanced Custom Fields.

Author:Darren Cooney (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:6.2.4
Plugin version:1.3.2
Added to WordPress repository:04-05-2017
Last updated:12-06-2023
Rating, %:92
Rated by:5
Plugin URI:http://connekthq.com/plugins/ajax-load-more/e...
Total downloads:33 937
Active installs:3 000+
plugin download
Click to start download

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, Gallery, Flexible Content and Relationship custom field data from a page or post and return the results to Ajax Load More for infinite scrolling.

View Documentation

Supported Field Types

The following ACF 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}"]

FAQ
ChangeLog