Modifier: Get

Gets a value from a relationship based on its ID. This is like a nicer-to-read single tag version of the Relate Tag.

featured_post: 4e82a520-275f-11e6-bdf4-0800200c9a66
{{ featured_post | get:title }}
Featured Post Title

The above is equivalent to doing this:

{{ relate:featured_post }}{{ title }}{{ /relate:featured_post }}

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on December 14, 2017