The Movable Type Knowledge Base

Show Display Name Instead Of Username On Weblog

Question

How can I show the author's display name with entries instead of the username?

Answer

Version 3.2 And Higher

The appropriate tag for showing the display name in version 3.2 is <MTEntryAuthorDisplayName>, which is included in the latest default templates.

If you've upgraded from an earlier version and have not updated your templates to use this tag, look for the <MTEntryAuthor> tag in all of your templates, and replace it with <MTEntryAuthorDisplayName>; then rebuild your site to reflect the change.

Note that if an author does not have a Display Name set in their Author Profile, their Username will be shown instead.

Versions Prior To 3.2

In versions prior to 3.2, the Display Name is referred to as the Nickname. To display the author nickname instead of the username, you need to use the appropriate template tag for that value:

Look for the <MTEntryAuthor> tag in all of your templates, and replace it with <MTEntryAuthorNickname>; then rebuild your site to reflect the change.

Note that if an author does not have a Nickname set in their Author Profile, nothing will be shown in place of this tag.

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 questions. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Yahoo! Small Business web hosting services

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