开发者 | akerbos87 |
---|---|
更新时间 | 2012年2月25日 22:01 |
PHP版本: | 3.2.0 及以上 |
WordPress版本: | 3.3.1 |
wp_tag_cloud
) that give you more control over what tags should be shown. In particular, this plugin will cut the most rarely and/or the most often occurring tags, the specific numbers depending on the parameter chosen.
When calling wp_tag_cloud
, add key drop_bottom
(and/or drop_top
) with one of the following values:
'N'
with N an integer. Will drop the tags with the N smallest (largest) post counts.'Nc'
with N an integer. Will drop tags with less (more) than N posts.'N%'
with N an integer. Will drop tags with the N percent smallest (largest) post counts.'Xs'
with X a float. Will drop tags with post count more than X times standard deviation below (above) the average of all counts.It is a measure for a set of numbers telling you how far numbers are on average away from the average. For details, look the term up on Wikipedia. You can use it for setting up tag clouds that scale with your blog, in a sense. Other than dropping a fixed number or percentage of tags, it will truly remove exactly those tags with significantly less posts than your average tag has.
You can