Not a developer? Go to MovableType.com

Documentation

IfCommenterIsEntryAuthor

This template tag returns true if the current comment in context was authored or written by the same person who wrote the entry the comment is associated with. This allows designers to style comments from users and authors differently then the general public.

Example

In the Entry context:

<h2><mt:EntryTitle>, by <mt:EntryAuthorDisplayName></h2>
<mt:Comments>
<div class="comment
    <mt:IfCommenterIsEntryAuthor>comment-by-author</mt:IfCommenterIsEntryAuthor>">
    <p><mt:CommenterName>:</p>
    <mt:CommentBody>
</div>
</mt:Comments>
Back

Leave a Comment