Object fields

Advanced Views supports object fields (such as Post.Author or Relationship) out-of-the-box.

For instance, consider a company page that includes a team members (users) field, which contains a list of users (their IDs). When you choose object fields like these, Advanced Views automatically adds a loop to display the field items in the current Twig template.

However, your goal is unlikely to be displaying just user IDs, so Advanced Views automatically retrieves the data for the selected object IDs and passes into the loop.

By default, for object field items, Advanced Views retrieves the title and link to the chosen object (User, Post, or Taxonomy). In the Pro version, you can retrieve any data from the object items by assigning a View in the field settings. You can check the Relationship field for a practical example.

Last updated