WordPress插件:Clean Archives Reloaded

今天发现了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.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.