控制分类的插件CatEntries3.0

| 1 Comment | No TrackBacks

时候不想让某个分类显示到自己的Blog上,或者有时候只想显示某一个或者几个分类。markpasc.org制作的这个CatEntriesMT用插件就可以去实现这样的功能。CatEntries.pl增加了一个<MTCatEntries>函数,用它代替<MTEntries>就可以使用了。比如我不想显示我的网站里的MovableType和Plugins这两个分类,你就可以这样设定


<MTCatEntries lastn="4" exclude="MovableType,Plugins">
・・・・・・
</MTCatEntries>

include表示想显示的分类,exclude表示不想显示的分类。即使是汉字形式的分类也没有问题的(在我的MT3.33上试验了,其他版本不能确定)。

No TrackBacks

TrackBack URL: http://www.ikias.com/mt-tb.cgi/155

1 Comment

CatEntries.pl
好像打开不了。
ikias,以后能不能把插件都放在你的BLOG下载啊!

Leave a comment

Pages

OpenID accepted here Learn more about OpenID
Powered by Movable Type 4.23-en

About this Entry

This page contains a single entry by ikias published on 2007年1月 8日 06:26.

几个可以印刷Calendar的地方 was the previous entry in this blog.

给分类也搞个RSS聚合 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.