[wp-hackers] Tag cloud semantics

Ryan McCue ryanmccue at cubegames.net
Tue Jan 22 03:51:30 GMT 2008


Aaron D. Campbell wrote:
> I think the reason would probably be that so many templates don't have 
> classes set up for that kind of thing, so it wouldn't work in existing 
> setups.  However, having said that, I'd prefer it to be classes.
>
> Ryan McCue wrote:
>> Is there any reason why wp_generate_tag_cloud() uses explicit 
>> font-sizes rather than using classes? One would assume that for 
>> semantics it would be better to use classes, like tag-highpop, etc. 
>> I'd be willing to contribute a patch to this effect if needed, but 
>> was just wondering if there was any reason to the thinking behind it.
>>
>> Thanks,
>> Ryan.
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
What about having an extra parameter in $args to specify whether to use 
classes or to use explicit font sizes?

Thanks,
Ryan.


More information about the wp-hackers mailing list