Display of Relationship ACF fields

Relationship group includes Link, Post object, Page link, Relationship, Taxonomy and User fields.

Editor (built-in)

Used to manage field values in the admin area.

Click to enlarge.

Template (by Advanced Views)

Used to configure display of the field values on front.

Click to enlarge.

After assigning target fields to the template, the plugin automatically generates markup for them and a unique shortcode. You can specify labels and customize the generated Twig template to create a specific layout.

To display the field values, simply paste the generated shortcode in the desired location. The plugin will automatically retrieve the current values and render the template.

Front look (by Advanced Views)

The output below is styled as rows and includes labels for demonstration purposes. You can customize the markup as needed and combine fields from different groups.

Post object

Skoda Octavia

Post object with its fields (Pro)

Skoda Octavia
Skoda Octavia – demo product
Price:
29999 $
Year:
2021
Categories:

Post object with slider (Pro)

Relationship

Relationship with its fields (Pro)

BMW x5
BMW X5 – demo product
Price:
55000 $
Year:
2023
Categories:

Relationship with slider (Pro)

Taxonomy

Taxonomy with its fields (Pro)

Name

BMW cars

Slug

bmw-cars

Description

This category is about BMW cars

Taxonomy with slider (Pro)

  • Name

    BMW cars

    Slug

    bmw-cars

    Description

    This category is about BMW cars
  • Name

    Cars

    Slug

    cars

    Description

    This category is about cars

User with its fields (Pro)

First Name

Maxim

Last Name

Akimov

Display Name

Maxim Akimov

Bio

Lead developer of the Advanced Views plugin

User with slider (Pro)

In the Pro version, in addition to displaying values from meta fields, you can also create   custom Gutenberg blocks.

Note: Post object, Relationship, Taxonomy, and User fields by default display a title link to the chosen object. In the Pro version, you can customize the appearance and display any fields of the chosen object, including built-in WordPress fields or assigned ACF fields.

The slider is created using the Splide library. Advanced Views Pro automatically generates a basic configuration for the slider and loads the slider library only on pages that use it. In the target View, you can configure any instance using any available options for the Splide library.