Advanced Template Set designs are available with the Unlimited, Premium, and Business Class plans. If you are not using an Advanced Template Set for your blog's design, go to Settings > Comments to change the comment settings.
Comment tags display the Comments posted by visitors to your blog. Comments are displayed on the individual post pages, and you can edit the Individual Archives Template to edit the display of comments below your post.
- A container tag representing a list of the comments posted by visitors to your blog. For each comment, you can use any of the tag variables below.
<MTComments> <a id="c<$MTCommentID$>"></a> <$MTCommentBody$> <p class="posted"><$MTTrans phrase="Posted by:"$> <$MTCommentAuthorLink spam_protect="1"$> | <$MTCommentDate$></p> </MTComments>
Note: Using the <MTComments> tag in an advanced template without a Lastn value and outside the context of an entry, will default to showing only 50 comments from the last 30 days instead of all comments.
- A container tag used to display information about the post to which the comment is attached; you can find more information on Post Tags here. Note that the
MTCommentDatetag must be used outside of this container or it will display the post date instead of the comment date.
- A container tag whose contents will only be shown if the comment setting for the post is Allow.
- In the Main Index, DateBased Archives, and Category Archives templates, the
<MTEntryIfAllowComments>tag is used to display links to the comment posting form on the individual post page.
- In the Individual Entry Archive template, the
<MTEntryIfAllowComments>tag is used to display the comment posting form.
- A container tag whose contents will only be shown if the comment setting for the post is Open and is used to display the comment posting form.
- the numeric ID of the comment.
- the text of the comment.
- the name of the comment author, linked to their URL if they submitted one, otherwise to their email address. Takes attribute
spam_protectwhich will encode the contents against spam harvesters using the values 0 (no spam protection) and 1 (spam protection). Takes attribute
show_emailto indicate whether the email address will be displayed if no URL is entered for the comment author using the values 0 (email address is never displayed) and 1 (email address will be displayed if no URL entered).
- the date that the comment was posted, can be formatted with .
- the name of the comment author.
- the email address of the comment author. Takes attribute
spam_protectwhich will encode the contents against spam harvesters using the values 0 (no spam protection) and 1 (spam protection).
- the URL submitted by the comment author, if one was.
- the commenter's userpic (if the user is signed in to a Typepad Profile, their designated userpic will be shown) or randomly generator avatar (if not signed in).
- the numeric order of a particular comment in the list of comments for an entry, starting at 1. Note that the order is dependent on the sort order (ascending or descending).