Type: block
A container tag which iterates over a list of authors. Default listing includes Authors who have at least a published entry is included in the list.
Attributes
display_name: Specifies a particular author to select.lastn: Limits the selection of authors to the specified number.sort_by: Supported values:display_name,name,created_on.sort_order: Supported values:ascend,descend.roles: comma separated list of values. eg "Author, Commenter"need_entry: 1 | 0 (default is 1)status: Supported values:enabled,disabled. Default isenabled.
Example
List all Authors in a blog with at least 1 entry:
<mt:Authors>
<a href="<mt:AuthorURL />"><mt:AuthorDisplayName /></a>
</mt:Authors>
List all Authors and Commenters for a blog:
<mt:Authors need_entry="0" roles="Author, Commenter">
<a href="<mt:AuthorURL />"><mt:AuthorDisplayName /></a>
</mt:Authors>
Related
- Template Loop Meta Variables offer conditionals for odd, even, first, last, and counter.
Submit a User Contributed Note
User contributed notes are a great way to share the knowledge you have gained in using Movable Type.
If you have a technical question or problem, please visit Movable Type Support.