MT留言最多文章一览的设定

0 views
Skip to first unread message

Che, Dong

unread,
Jul 22, 2008, 1:41:40 PM7/22/08
to MT中文用户组
感谢猫叔;

 
 

Che, Dong 通过 Google 阅读器发送给您的内容:

 
 

于 08-7-21 通过 MT 作者:ikias

在Movable Type 4.2上,不需要插件就可以实现留言最多文章一览的设定。

代码如下

<mt:If tag="BlogCommentCount">
<mt:Entries sort_by="comment_count" limit="10">
<mt:EntriesHeader>
<div class="widget-comment-ranking widget-archives widget">
<h3 class="widget-header">
留言最多文章一览</h3>
<div class="widget-content">
<ol>
</mt:EntriesHeader>
<li><a href="<$mt:EntryPermalink$>"><$mt:EntryTitle$></a> (<$MTEntryCommentCount$>)</li>
<mt:EntriesFooter>
</ol>
</div>
</div>
</mt:EntriesFooter>
</mt:Entries>
</mt:If>


上面BlogCommentCount变为BlogPingCountcomment_count变为ping_count之后就可以变为最多引用一览的设定了。




 
 

可从此处完成的操作:

 
 
Reply all
Reply to author
Forward
0 new messages