Movable Type Enterprise Documentation

« MTEntryAuthorEmail | Up | MTEntryAuthorNickname »

Chapter Entry

MTEntryAuthorLink

A linked version of the author's user name, using the author URL if provided in the author's profile. Otherwise, the author name is unlinked. This behavior can be altered with optional attributes:

Attributes:

  • show_email - Specifies if the author's email can be displayed. The default is false (0).
  • show_url - Specifies if the author's URL can be displayed. The default is true (1).
  • new_window - Specifies to open the link in a new window by adding "target=_blank" to the anchor tag. See example below. The default is false (0).

new_window Example code:

<$MTEntryAuthorLink new_window="1"$>

would become

<a href="http://www.sixapart.com/" target="_blank">Six Apart</a>

If no display name is specified, MTEntryAuthorDisplayName returns NULL, and no name is displayed.

Can this be spam protected?

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Enterprise Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.