{{authors}}
is a formatting helper for outputting a linked list of authors for a particular post. It defaults to a comma-separated list (without list markup) but can be customised to use different separators, and the linking can be disabled. The authors are output in the order they appear on the post, these can be reordered by dragging and dropping.
You can use the translation helper for the prefix
and suffix
attribute.
limit
to the helper. E.g. adding a limit of 1 will output just the first author:
from
and to
either together or on their own. Using to
will override the limit
attribute.
E.g. using from=“2” would output all authors, but starting from the second author:
1
would do the same as limit=“1”
{{authors from="1" to="1"}}
is the same as {{authors limit="1"}}
visibility
attributevisibility
, which defaults to public
.
By default the visibility
attribute is set to the string “public”. This can be overridden to pass any other value, and if there is no matching value for visibility
nothing will be output. You can also pass a comma-separated list of values, or the value “all” to output all items.
{{primary_author}}
helper to output a simple link. You can also access all the same attributes as above if you need more custom output.