[wp-hackers] Tag cloud semantics

Stephen Rider wp-hackers at striderweb.com
Wed Jan 23 17:13:45 GMT 2008


How about producing styles of 100+n percent ?  Then the cloud itself  
can have a font size set (say... 80%), and individual tags within  
would be sized relative to that.  The 80% would be the smallest tags....

Stephen

On Jan 23, 2008, at 12:55 AM, Ryan McCue wrote:

> Christine Davis wrote:
>> Had anyone given any thought to how the content of the classes  
>> should work?
>>
>> I ask, because if the intention is for people to add more classes to
>> style.css in their theme,  they're not going to add an infinite  
>> number of
>> classes <: and at some point, you could end up in a situation  
>> where you have
>> a tag using the class tag-cloud-item-n+1 which wouldn't be styled  
>> properly
>> (and you'd probably have to go back and adjust the other n styles,  
>> too.
>> Sucks.)
>>
>> Generating the CSS based on the number of times the most popular  
>> tag is used
>> would be a little more practical;  but has trade-offs in that it  
>> would be an
>> additional CSS file that would need to be included (so themes  
>> would need
>> tweaking),  and you also lose a bunch of control over how it looks  
>> (unless
>> you add eleventy billion parameters to control everything).
>>


More information about the wp-hackers mailing list