http://wordpress.org/extend/plugins/tags/
If someone knows where I can find that code, great. If not, I need to figure it out myself. ->
So, the more items that are in a tag/category, the bigger the font.
I'm not quite sure how to go about it. I have about 2000 entries, and the list is growing. I'll probably have around 50 tags or so. Maybe as many as 100.
So, I would like to do something like this...
Code: Select all
$min = 12; //px
$max = 24; //px
// biggest category = 1400
// middle categories...
// smallest category = 5
scale_sizes($categorylist,$min,$max); # <---
// biggest category font size = 24
// middle categories proportionately spaced in size
// smallest category font size = 12Code: Select all
$categories = array(18,27,36);
#result:
$categoryfontsizes = array(12,18,24);