How to display ACF relationship fields in Divi

Sep 22, 2024 | Tutorials | 0 comments

When using our addon Divi Custom Field Views, you can easily showcase ACF relationship fields. This tutorial will walk you through the process of displaying any ACF relationship field. If you only need to show a post object field, then our free plugin here will be helpful.

To begin, you’ll set up the ACF field on the ACF menu page. For our example, we’ll use all relationship fields (post object, user, taxonomy, link and page link)

Our setup should look like this:

We need to add the field data once the ACF field configuration is done.

Now it’s time to utilize our module. Insert the Custom Field View module and follow these steps:

  1. Select the field name on the Custom Field option.
  2. Choose “Current Post” as the Data Origin. In version 1.0.5, our plugin supports extracting custom field data from current or specific posts, terms, and users.
  3. Set “ACF” as the Source option.
  4. Choose “Field Source Type” as the Display As option. This will prompt the plugin to detect the field type and display the field accordingly.
  5. Depending on the ACF relationship field type it is possible to control the info shown for the posts/Users/taxonomy terms content.

With these steps completed, you’re ready to go! Our module simplifies the process of displaying complex field data in Divi. Similar steps can be taken for all other ACF relationship field types.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *