This guide covers the process of leveraging Advanced Custom Fields (ACF) Relationship Fields within Loop elements in Oxygen. This feature enables the dynamic display of content based on specified relationships in ACF.
Before starting, we recommend having ACF installed, and an ACF Relationship Field with relationships already created and populated.
After applying the query, the loop element will dynamically display posts that are related through the specified ACF relationship field. Changing the relationships within ACF will automatically update the displayed posts in Oxygen.
The ACF relationship field for custom queries does not support pagination. If you must use pagination, you will need to create an array query to return the IDs of the posts and the post type.