Documentation / Tutorials / Quick Samples

How to use ACF repeater in Awesome Enterprise

/ Quick Samples / How to use ACF repeater in Awesome Enterprise

The repeater field allows you to create a set of sub fields and get using get_field function.

[php.get_field p1="meta_key_name" p2='{post_id}' set='module.banner']
	[loop.@banner_item module.banner]
		[aw2.get @banner_item.item.image.url /] //image is meta key,return formate if  object
		[aw2.get @banner_item.item.text /] // text is meta key.text is text field
		[aw2.get @banner_item.item.meta_key /] // meta_key is meta key.
	[/loop.@banner_item]

Full Documentation link here.

Categories
Most Popular

Leave a Reply

Your email address will not be published.