On this page:


<txp:author />

The author tag is a single tag that is used to return the name of the author of the currently displayed article.


Tag will accept the following attributes (case-sensitive):

escape="html" v4.6.0+
Escape HTML entities such as <, > and &.
Values: See the tag escaping documentation for all possible values.
Default: html.
format="value" v4.6.0+
Display plain URL or full link.
Values: link, url or unset.
Default: unset (display title or full link, depending on link).
Make text a link to the author’s posts.
Values: 0 (no) or 1 (yes).
Default: 0.
section="section name" v4.0.4+
Restrict to articles from specified section(s).
Values: (comma separated list of) section name(s).
Default: unset, retrieves from all sections.
this_section="boolean" v4.0.4+
If set to 1, the linked author name will direct users to an author list in the current section, otherwise author list from all sections is displayed.
Values: 0 (no, all sections) or 1 (yes, this section only).
Default: 0.
title="boolean" v4.3.0+
Whether to display the author’s real name or login name.
Values: 0 (login name) or 1 (real name).
Default: 1.


    <txp:title />
<txp:body />
<p class="author-date">
    Posted By: <txp:author link="1" /> at <txp:posted />

The author’s name in this article form is a hyperlink to a list of articles by this author.

Other tags used: posted, title, body.

Example 2: Author landing page

        Articles by author: <txp:author />
    <txp:article form="article_listing" limit="5" />

Display the author’s name above a list of articles by that author when visiting URLs.

Other tags used: if_author, article.


Version 4.6.0

escape and format attributes added.

Version 4.5.0

Permitted the tag to be used on author list landing pages.

Version 4.3.0

title attribute added.

Version 4.0.4

section and this_section attributes added.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please open an issue and we’ll investigate.