Movable Type Documentation > Appendices > Appendix: Template Tags

Authors

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 is enabled.

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

This page was last updated on 2008-03-05, 16:23.  

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.

(If you haven't left a note here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)