今天发现了Viper007Bond上的新插件,Clean Archives Reloaded。
摘自Viper007Bond:
The main code in this plugin was originally written by Sebastian Schmieg for the archive page of his “Blix” theme.
The code was later converted to a plugin by Shawn Grimes.
The drawback of both of these versions though was the sheer number of queries required (around 1 per month + 2 per post — it added up quick). So, I decided to make it cache the output so that it was only regenerated when needed and otherwise just pulled with 1 query from the database. I was also given the idea by Chris O’Rourke to use moo.fx to make the months collapsable as many people’s archives pages were getting rather long.
效果见右上导航栏的Archives页面,或者Viper007Bond的Archives,比较cool.
This entry was posted
on Tuesday, June 13th, 2006 at 9:49 pm and is filed under Blogging, WordPress.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
这个东西不是Ajax的?
Archive插件还是Extended Live Archive比较强,不但按时间,还能按照类别,tag等显示文章列表。就是我主页上用的那玩意儿。
嗯,你那个不错。这个应该也是Ajax的吧,我不太懂这些:) 看这个挺简单就装上了。现在人心惶惶的,不想花工夫了,呵呵
激活这个插件后用什么源代码去创建存档页面呢?
是不是还要先修改一些php文件?
要用到WordPress的Page Template概念,这里有介绍:
http://codex.wordpress.org/Pages
我的大部分页面都是这样创建的。
Page Template弄好后,在创建页面时右边可以选择模板。
我把我的这个模板Email给你了,你把它放在主题目录下就可以用,创建页面时只写标题即可发表(当然可以加些文字)
好的,谢谢了!
太喜欢这种朴实的又有用的东西了。。
你好,我想要模板,新兵来的,不怎么会用。非常感谢。
对不起,因为一次误操作这些文件都已经损失,现在找不到了。你可以参考插件作者的说明一步步去做。
多谢分享 可帮大忙了