The more news in the category/views per article the bigger it gets:
Cat 1 Cat 4 Cat 3
Cat 2 Cat 6 Cat 5
If you are using the search history plugin you can show a search cloud, too.
Installation:
1. Upload the plugin, activate it and go to "Options -> Category cloud" to change the settings.
2. Put show_the_cloud($cloud, $limit, $orderby, $min_size, $max_size, $start, $end); where you want to show the cloud.
3. Explanation:
$cloud => Used to define what to show. (defaults to 'category')
'category' - shows the category cloud
'news' - shows the news cloud
'search' - shows the search cloud (if available)
'commenters' - shows the commenters cloud
'xfield:my_xfield' - shows the cloud for the XField "my_xfield"
$limit => Used to define how much to show. (defaults to '0')
0 - show everything
25 - show the top 25 items
$orderby => Used to define how to show the data. (defaults to 'asc')
'asc' - order ascending
'desc' - order descending
'random' - order randomly
$min_size => Used to define the minimum font size. (defaults to '10')
'10' - font size 10
$max_size => Used to define the maximum font size. (defaults to '30')
'30' - font size 30
$start => Used to define the beginning of the cloud, only available in news/commenters cloud. (defaults to 'false' -> show everything)
$end => Used to define the end of the cloud, only available in news/commenters cloud. (defaults to 'false' -> show everything)
Example code:
1. show_the_cloud($cloud = 'news', $limit = 25, $orderby = 'random', $min_size = '9', $max_size = '25');
2. show_the_cloud($cloud = 'xfield:music', $limit = 10, $orderby = 'asc', $min_size = '10', $max_size = '30');
3. show_the_cloud($cloud = 'commenters', $limit = 10, $orderby = 'asc', $min_size = '10', $max_size = '30', $start = time() - (3600 * 24 * 30), $end = time());
(Third example shows commenters cloud of the last 30 days.)
