Parameters
show_hidden
Boolean setting to show hidden files or not
Default: false
{{ relate:field_name show_hidden="false" }}
show_past
Boolean setting to enable date-based entries that have dates in the past.
Default: true
{{ relate:field_name show_past="true" }}
show_future
Boolean setting to enable date-based entries that have dates in the future.
Default: false
{{ relate:field_name show_future="true" }}
conditions
Conditions let you filter on and and every custom field in your entry data with the use a comma-separated string of key:value
pairs.
{{ relate:field_name conditions="author:jack" }}
{{ relate:field_name conditions="type:beef|pork|bacon" }}
You can also string together multiple conditions by separating them with commas:
conditions="author:jack,featured:yes"
You can even perform “not” conditions by adding a !
mark:
conditions="author:!jack"