[wp-hackers] Combining different taxonomy term clouds into one

Mike Schinkel mikeschinkel at newclarity.net
Fri Jan 7 04:41:07 UTC 2011


On Jan 6, 2011, at 11:28 PM, Haluk Karamete wrote:
> Say, you got one taxonomy called Taxonomy1 and another Taxonomy2.
> And each is growing their own terms organically as the various posts come in.
> 
> So, at some point, for the sake of an argument Taxonomy1 grows to 10
> tags and Taxonomy tag makes it to 20 tags.
> 
> there are code snippets available to display individual tag clouds for
> these 2 taxonomies. No problem there.
> 
> But how do you create one tag cloud as a combination of both?
> 
> In other words, what technique do you use to end up with a global tag
> cloud consisting of 30 items - while maintaing a proper order for the
> overall tag cloud?
> 
> Obviously, placing the two tag clouds one after the other in a list
> form is not going to cut it. With such an implementation, the last
> item of the Taxonomy1 tag cloud would appear to be bigger ticket item
> than the first item of the Taxonomy2 - which we do not want.

What code/widget are you using to generate your tag cloud?

-Mike




More information about the wp-hackers mailing list