Site icon David Yin's Blog

Comments and Pings

I study the “template tags” in MT manual. Added Recent Comments and Recent Pings list in the sidebar template.
It looks good.
Code is shown as below:

<h2>Recent Comments</h2>
<div class="link-note">
<MTComments lastn="5" sort_order="descend">
<MTCommentEntry><a href="<$MTEntryPermalink$>">Re:<MTEntryTitle$></a></MTCommentEntry>
By:<$MTCommentAuthor$><br/>
</MTComments>
</div>
<h2>Recent Pings</h2>
<div class="link-note">
<MTPings lastn="5" sort_order="descend">
<a href="<$MTPingURL$>"><$MTPingTitle$></a>
From:<$MTPingBlogName$><br/>
</MTPings>
</div>
Exit mobile version