具体出处:http://zak.greant.com/tags/category-cloud
下面原文引用:
Look for a more up-to-date version of the plugin at http://zak.greant.com/tags/category-cloud
If you are WordPress user and you like the tag cloud displayed on the front page of this site, the WordPress plugin I hacked up to generate the cloud is available for download.
To use the plugin, follow these steps:
- Download the Category Cloud plugin: category_cloud.php.zip
- Unzip category_cloud.php.zip.
- Move category_cloud.php to your WordPress plugins directory.
- Activate the plugin from your WordPress administration interface.
- Drop the following code into one of your page templates:
这里我无法贴上代码。That’s it – the CSS is generated from within the plugin and there are brief usage notes in the source code.
汗,居然无法正确显示代码。 还是到http://zak.greant.com/category-cloud-plugin/看吧。5的引用部分就是。
演示见侧边栏 (我是无法显示,好象代码被自动屏蔽了?).需要说明的是作者网站上有了新版本.好象作者对0.1.1版本很不满意.下面引用:
I have extended Category Cloud so that the frequency of category use is marked with changes in colour as well as size.
Note that the code is very ugly and will change shortly. Still, if you want a copy, grab it here.
For more information (including instructions) on the plugin, see http://zak.greant.com/category-cloud-plugin
Update
See http://zak.greant.com/tags/category-cloud/ to find the most up-to-date version.