[wp-hackers] Tag cloud semantics

Jared Bangs jared at pacific22.com
Tue Jan 22 05:38:41 GMT 2008

On Jan 21, 2008 7:51 PM, Ryan McCue <ryanmccue at cubegames.net> wrote:

> What about having an extra parameter in $args to specify whether to use
> classes or to use explicit font sizes?

You could also write a plugin to hook the wp_generate_tag_cloud filter and
either replace stuff in the generated list or completely rewrite it.

The only downside there is that the filter comes after all the other
processing, so if you wanted to build the list a different way, the standard
list would always be generated anyway and then thrown away. It's just a
minor performance concern, but it's probably worth mentioning.

More information about the wp-hackers mailing list