{"id":67801,"date":"2017-05-04T15:18:40","date_gmt":"2017-05-04T15:18:40","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ajax-load-more-for-acf\/"},"modified":"2025-11-13T16:12:13","modified_gmt":"2025-11-13T16:12:13","slug":"ajax-load-more-for-acf","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/ajax-load-more-for-acf\/","author":7277085,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4.0","stable_tag":"1.4.0","tested":"6.8.5","requires":"4.0","requires_php":"","requires_plugins":null,"header_name":"Ajax Load More for ACF","header_author":"Darren Cooney","header_description":"An Ajax Load More extension that adds compatibility for various ACF field types.","assets_banners_color":"888e95","last_updated":"2025-11-13 16:12:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/connekthq.com\/donate\/","header_plugin_uri":"http:\/\/connekthq.com\/plugins\/ajax-load-more\/extensions\/advanced-custom-fields\/","header_author_uri":"https:\/\/connekthq.com","rating":4.5,"author_block_rating":0,"active_installs":2000,"downloads":47076,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"dcooney","date":"2017-05-23 01:03:43"},"1.1":{"tag":"1.1","author":"dcooney","date":"2017-10-05 19:47:56"},"1.1.1":{"tag":"1.1.1","author":"dcooney","date":"2018-09-18 20:23:19"},"1.1.2":{"tag":"1.1.2","author":"dcooney","date":"2019-05-07 03:11:35"},"1.2.0":{"tag":"1.2.0","author":"dcooney","date":"2019-10-22 14:50:33"},"1.3.1":{"tag":"1.3.1","author":"dcooney","date":"2022-12-30 14:03:41"},"1.3.2":{"tag":"1.3.2","author":"dcooney","date":"2023-06-12 14:22:48"},"1.3.3":{"tag":"1.3.3","author":"dcooney","date":"2024-12-04 19:54:43"},"1.3.4":{"tag":"1.3.4","author":"dcooney","date":"2025-06-05 19:06:56"},"1.4.0":{"tag":"1.4.0","author":"dcooney","date":"2025-11-13 16:12:13"}},"upgrade_notice":{"":"<ul>\n<li>None<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":1,"4":0,"5":3},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2848165,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2848165,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.1.2","1.2.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2211,2217,57639,2010,5908],"plugin_category":[59],"plugin_contributors":[78879],"plugin_business_model":[],"class_list":["post-67801","plugin","type-plugin","status-publish","hentry","plugin_tags-acf","plugin_tags-advanced-custom-fields","plugin_tags-ajax-load-more","plugin_tags-custom-fields","plugin_tags-infinite-scroll","plugin_category-utilities-and-tools","plugin_contributors-dcooney","plugin_committers-dcooney","plugin_committers-edanzer"],"banners":{"banner":"https:\/\/ps.w.org\/ajax-load-more-for-acf\/assets\/banner-772x250.jpg?rev=2848165","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/ajax-load-more-for-acf\/assets\/icon-128x128.png?rev=2848165","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Ajax Load More for Advanced Custom Fields<\/strong> provides additional functionality for infinite scrolling Flexible Content, Gallery, Repeater and Relationship field data with Ajax Load More.<\/p>\n\n<p>Easily access <a href=\"https:\/\/advancedcustomfields.com\/resources\/repeater\/\">Repeater<\/a>, <a href=\"https:\/\/advancedcustomfields.com\/resources\/gallery\/\">Gallery<\/a>, <a href=\"https:\/\/advancedcustomfields.com\/resources\/flexible-content\/\/\">Flexible Content<\/a> and <a href=\"https:\/\/advancedcustomfields.com\/resources\/relationship\/\">Relationship<\/a> custom field data from a page or post and return the results to Ajax Load More for infinite scrolling.<\/p>\n\n<p><strong><a href=\"https:\/\/connekthq.com\/plugins\/ajax-load-more\/extensions\/advanced-custom-fields\/\">View Documentation<\/a><\/strong><\/p>\n\n<h4>Supported Field Types<\/h4>\n\n<p>The following ACF <a href=\"https:\/\/www.advancedcustomfields.com\/resources\/#field-types\">Field Types<\/a> are supported:<\/p>\n\n<ul>\n<li><strong>Gallery<\/strong> - The gallery field provides a simple and intuitive interface for managing a collection of images.<\/li>\n<li><strong>Flexible Content<\/strong> - 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.<\/li>\n<li><strong>Relationship<\/strong> - 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.<\/li>\n<li><strong>Repeater<\/strong> - The repeater field allows you to create a set of sub fields which can be repeated again and again whilst editing content.<\/li>\n<\/ul>\n\n<h4>Shortcode Parameters<\/h4>\n\n<p>The following Ajax Load More shortcode parameters are available when the Advanced Custom Fields extension is activated.<\/p>\n\n<ul>\n<li><strong>acf<\/strong> - Enable compatibility with Advanced Custom Fields. (true\/false)<\/li>\n<li><strong>acf_post_id<\/strong> - The ID of the current page\/post. Default = $post-&gt;ID<\/li>\n<li><strong>acf_field_type<\/strong> - The type of ACF field. (gallery\/flexible\/relationship\/repeater)<\/li>\n<li><strong>acf_field_name<\/strong> - The name of the ACF field.<\/li>\n<li><strong>acf_parent_field_name<\/strong> - Access sub field data up to the three levels deep.<\/li>\n<li><strong>acf_row_index<\/strong> - Access sub field data in a Repeater or Flexible Content field by row index.<\/li>\n<\/ul>\n\n<h4>Example Shortcode<\/h4>\n\n<pre><code>[ajax_load_more repeater=\"default\" acf=\"true\" acf_field_type=\"repeater\" acf_field_name=\"{your_field_name}\"]\n<\/code><\/pre>\n\n<!--section=installation-->\n<h4>Uploading in WordPress Dashboard<\/h4>\n\n<ol>\n<li>Navigate to the 'Add New' in the plugins dashboard<\/li>\n<li>Navigate to the 'Upload' area<\/li>\n<li>Select <code>ajax-load-more-for-acf.zip<\/code> from your computer<\/li>\n<li>Click 'Install Now'<\/li>\n<li>Activate the plugin in the Plugin dashboard<\/li>\n<\/ol>\n\n<h4>Using FTP<\/h4>\n\n<ol>\n<li>Download <code>ajax-load-more-acf.zip<\/code>.<\/li>\n<li>Extract the <code>ajax-load-more-for-acf<\/code> directory to your computer.<\/li>\n<li>Upload the <code>ajax-load-more-for-acf<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Ensure Ajax Load More is installed prior to activating the plugin.<\/li>\n<li>Activate the plugin in the WP plugin dashboard.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20version%20of%20ajax%20load%20more%20is%20required%3F'><h3>What version of Ajax Load More is required?<\/h3><\/dt>\n<dd><p>You must have v3.0+ of Ajax Load More installed.<\/p><\/dd>\n<dt id='how%20do%20i%20use%20this%20extension%3F'><h3>How do I use this extension?<\/h3><\/dt>\n<dd><p>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).<\/p><\/dd>\n<dt id='what%20field%20types%20of%20advanced%20custom%20fields%20are%20supported%3F'><h3>What field types of Advanced Custom Fields are supported?<\/h3><\/dt>\n<dd><p>Gallery, Flexible Content, Repeater and Relationship fields are currently supported.<\/p><\/dd>\n<dt id='how%20do%20i%20infinite%20scroll%20repeater%20fields%20with%20ajax%20load%20more'><h3>How do I infinite scroll Repeater fields with Ajax Load More<\/h3><\/dt>\n<dd><p>Create an [ajax_load_more] shortcode and set <code>acf_field_type=\"repeater\"<\/code>.<\/p><\/dd>\n<dt id='how%20do%20i%20infinite%20scroll%20relationship%20fields%20with%20ajax%20load%20more'><h3>How do I infinite scroll Relationship fields with Ajax Load More<\/h3><\/dt>\n<dd><p>Create an [ajax_load_more] shortcode and set <code>acf_field_type=\"relationship\"<\/code>.<\/p><\/dd>\n<dt id='how%20do%20i%20infinite%20scroll%20gallery%20fields%20with%20ajax%20load%20more'><h3>How do I infinite scroll Gallery fields with Ajax Load More<\/h3><\/dt>\n<dd><p>Create an [ajax_load_more] shortcode and set <code>acf_field_type=\"gallery\"<\/code>.<\/p><\/dd>\n<dt id='how%20do%20i%20infinite%20scroll%20flexible%20content%20fields%20with%20ajax%20load%20more'><h3>How do I infinite scroll Flexible Content fields with Ajax Load More<\/h3><\/dt>\n<dd><p>Create an [ajax_load_more] shortcode and set  <code>acf_field_type=\"flexible\"<\/code>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.4.0 - November 13, 2025<\/h4>\n\n<ul>\n<li>NEW: Added support for Ajax Load More Cache 3.0.<\/li>\n<li>UPDATE: Various code cleanups and organization.<\/li>\n<\/ul>\n\n<h4>1.3.4 - June 5, 2025<\/h4>\n\n<ul>\n<li>NEW: Adding Ajax Load More as a required plugin.<\/li>\n<li>UPDATE: Code cleanup, readme and WP tested version.<\/li>\n<\/ul>\n\n<h4>1.3.3 - November 11, 2024<\/h4>\n\n<ul>\n<li>UPDATE: Readme, contributors, WordPress tested version<\/li>\n<\/ul>\n\n<h4>1.3.2 - June 11, 2023<\/h4>\n\n<ul>\n<li>NEW: Added support for accessing sub field data in Repeater or Flexible Content field types by row index.<\/li>\n<li>UPDATE: Updated to add compatibility with Cache Add-on 2.0 and Ajax Load More 6.0.<\/li>\n<li>FIX: Fixed issue with broken Paging add-on and ACF extension.<\/li>\n<\/ul>\n\n<h4>1.3.1 - December 30, 2022<\/h4>\n\n<ul>\n<li>FIX: Fixed issue with undefined <code>$page<\/code> variable when using Repeater field.<\/li>\n<li>FIX: Fixed issue with <code>$alm_item<\/code> variable being off in preloaded queries.<\/li>\n<li>UPDATE: Code cleanup and organization.<\/li>\n<\/ul>\n\n<h4>1.3.0.1 - March 6, 2020<\/h4>\n\n<ul>\n<li>FIX - Fix for issue with Relationship field type show PHP warning message about undefined variable.<\/li>\n<\/ul>\n\n<h4>1.3.0 - October 22, 2019<\/h4>\n\n<ul>\n<li>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.<\/li>\n<li>NEW - Added support for infinite scrolling nested sub fields (<code>acf_parent_field_name<\/code>). Up to 3 levels of nesting is supported.<\/li>\n<li>UPDATE - Removed legacy API endpoint.<\/li>\n<\/ul>\n\n<h4>1.2.0 - May 6, 2019<\/h4>\n\n<ul>\n<li>UPGRADE NOTICE - This update requires Ajax Load More 5.1+.<\/li>\n<li>NEW - ACF extension now uses the WordPress REST API for Ajax queries. This change can be reverted in ALM Settings.<\/li>\n<\/ul>\n\n<h4>1.1.2 - September 19, 2018<\/h4>\n\n<ul>\n<li>FIX - Fixed cache creation issue with Cache add-on and Repeater and Flexible Content fields.<\/li>\n<li>FIX - Fixed issue with <code>offset<\/code> parameter not working in preloaded Ajax Load More query.<\/li>\n<li>FIX - Fixed PHP warning message about undefined variable.<\/li>\n<\/ul>\n\n<h4>1.1.1 - October 5, 2017<\/h4>\n\n<ul>\n<li>NEW - Adding new <code>alm_get_acf_gallery_theme_repeater<\/code> function for integration between Theme Repeaters (add-on) and the Gallery Field Type.<\/li>\n<\/ul>\n\n<h4>1.1 - May 22, 2017<\/h4>\n\n<ul>\n<li>NOTICE - Requires Ajax Load More 3.0.1+<\/li>\n<li>NEW - Added support for Gallery field type.<\/li>\n<li>NEW - Added support for Flexible Content field type.<\/li>\n<\/ul>\n\n<h4>1.0 - May 4, 2017<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Ajax Load More extension that adds compatibility with various field types for Advanced Custom Fields.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/67801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=67801"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dcooney"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=67801"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=67801"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=67801"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=67801"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=67801"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=67801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}