=== Ajax Load More for Advanced Custom Fields === Contributors: dcooney, connekthq Author: Darren Cooney Author URI: https://connekthq.com/ Plugin URI: https://connekthq.com/ajax-load-more/extensions/advanced-custom-fields/ Donate link: https://connekthq.com/donate/ Tags: ajax load more, advanced custom fields, repeater field, flexible content, gallery, repeater, relationship field, relationship Requires at least: 4.0 Tested up to: 4.7.5 Stable tag: 1.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Ajax Load More extension that adds compatibility with various field types for Advanced Custom Fields. == Description == **Ajax Load More for Advanced Custom Fields** is an [Ajax Load More](https://wordpress.org/plugins/ajax-load-more/) extension that provides infinite scroll and lazy load functionality for various field types for [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/). The extension allows you to easily access custom field data for a page, post, custom post type or taxonomy and return the results to Ajax Load More for infinite scrolling. **[→ View Documentation](https://connekthq.com/plugins/ajax-load-more/extensions/advanced-custom-fields/)** = Field Types = The following field types for Advanced Custom Fields are currently supported: * [Flexible Content](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/flexible-content/) * [Gallery](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/gallery/) * [Relationship](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/relationship/) * [Repeater](https://connekthq.com/plugins/ajax-load-more/examples/advanced-custom-fields/repeater/) = Shortcode Parameters = The following 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. = Example Shortcode = [ajax_load_more acf="true" acf_field_type="repeater" acf_field_name="{your_custom_field_name}"] == Frequently Asked Questions == = 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"`. == Screenshots == == 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. == Changelog == = 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. == Upgrade Notice == * None