Repeater Fields
Oxygen’s Advanced Custom Fields (ACF) integration allows you to use ACF Repeater Fields to dynamically display content on your website.
ACF Repeater Fields allow you to add a variable number of subfields (such as text, images, etc.) to your posts or custom post types.
Setting up the Component
The first thing you’ll want to do is to set up the Component that will display the ACF content of the ACF Repeater Field.
- Go to Oxygen > Components in WordPress admin area and create a new component.
- Add elements to the Component and use the ACF integration to select the Repeater’s subfields as the source(s) of Dynamic Data.
- Save the Component.
Using the Repeater Field
- Add a Repeater Field element in Oxygen
- In the Repeated Block control, select the Component that contains the layout for the ACF Repeater field.
- In the Field control, select the ACF Repeater Field that you want to use.
- Adjust the layout via the Design tab or using a Class.
With this step complete, you should now see the contents of the ACF Repeater Field displaying in Oxygen as well as on the front end.
Updated on: January 9, 2025