MTIfCommenterIsEntryAuthor
コメントの投稿者が、コメント先の記事の作成者の場合にのみに実行される条件タグです。
- 使い方
 
<div class="comments-content">
<mt:Comments>
  <article id="comment-<$mt:CommentID$>" class="comment<mt:IfCommentParent> comment-reply</mt:IfCommentParent><mt:IfCommenterIsEntryAuthor> entry-author-comment</mt:IfCommenterIsEntryAuthor>" itemprop="comment" itemscope itemtype="http://schema.org/UserComments">
  <header>
    <h3><mt:IfCommentParent><span class="vcard author"><$mt:CommentAuthorLink$></span>から<a href="<mt:CommentParent><$mt:CommentLink$></mt:CommentParent>"><mt:CommentParent><$mt:CommentAuthor$></mt:CommentParent></a>への返信<mt:Else><$mt:CommentAuthorLink$></mt:IfCommentParent></h3>
    <a href="<$mt:CommentLink$>"><time datetime="<$mt:CommentDate format_name="iso8601"$>"><$mt:CommentDate$></time></a>
  </header>
  <div class="comment-content" itemprop="commentText">
    <$mt:CommentBody$>
    <dl>
    <mt:CommentCustomFields>
      <dt><$mt:CommentCustomFieldName$></dt>
      <dd>
      <mt:If tag="CommentCustomFieldDescription"><p><$mt:CommentCustomFieldDescription$></p></mt:If>
      <p><mt:If tag="CommentCustomFieldValue"><$mt:CommentCustomFieldValue$><mt:Else>なし</mt:If></p>
      </dd>
    </mt:CommentCustomFields>
    </dl>
  </div>
<mt:IfCommentsAccepted>
  <div class="reply">
    <$mt:CommentReplyToLink$>
  </div>
</mt:IfCommentsAccepted>
  </article>
</mt:Comments>
</div>