Download
LogCloud can be downloaded from the LogCloud page at the Wordpress plugin repository.
Description
LogCloud provides a shortcode that generates a tag cloud much like the built-in Wordpress tag cloud. Instead of scaling the font sizes linearly, the sizes are scaled using a logarithm scale.
If you use your tags with approximately equal frequency, the normal linear scale works just fine. However, if you tag your posts such that just a few tags predominate, the linear scale results in one or two very large looking tags in your cloud, and everything else will use a couple of font sizes at the lower end of the scale. A log scale cloud will result in a more even distribution for this situation.
Usage
To use logcloud, insert the logcloud shortcode anywhere you want a tag cloud to be.
The following attributes may be added to the shortcode:
- smallest – smallest font size to use (default 8)
- largest – largest font size to use (default 22)
- unit – CSS unit for sizing fonts (default ‘pt’)
- number – number of tags to display (default 45). use 0 to display all tags.
- format – ‘flat’ or ‘list’ (default ‘flat’)
- orderby – ‘name’ or ‘count’ (default ‘name’)
- order – ‘ASC’, ‘DSC’ or ‘RAND’ (default ‘ASC’)
- exclude, include – tag slugs to exclude or include
- link – ‘view’ or ‘edit’ (default ‘view’)
- min_usage – minimum count for a tag to be displayed (default 0)
- usecolors – whether to scale colors as well as font sizes (default 0)
- mincolor – hex color code for the ‘minimum’ color to use (all six digits required) (default ‘#000000′)
- maxcolor – hex color code for the ‘maximum’ color to use (all six digits required) (default ‘#FFFFFF’)
For example:
[logcloud min_usage='2']
Live example
The Rat’s Reading index currently uses LogCloud 4.0 for it’s tag cloud display.
Version History
- Initial version. Clone of Wordpress tag cloud code with shortcode added (and log scaling replacing linear scaling).
- Added min_usage argument (similar to Simple Tags tag cloud)
- Added a widget for use in widgetized sidebars
- Added color scaling (same style that Simple Tags uses)
Future features
- Add inclusion/exclusion by tag slug instead of term id
- Add internationalization
- Add multi-widget (2.8) capability
- ? You tell me.
Great ! But the shortags don’t work ^^
ex : ( [logcloud orderby='count'] )
No color option ? I like the concept but colored tags are much easier to read…
I’ll add that option to the list of future features.
Thank you. I will test it and wait for next upgrades :-)
There is no way to put this in the sidebar ?
Not using widgets. That’s the other feature to be added: widgetizing it. I’m planning on releasing the next version sometime next week.
You can add logcloud to the sidebar by using the functions in plugin if you edit your template.
Ok, I will wait for it. Maybe you could give the function in your readme.txt.
Hello,
some news about updating your plugin ? I am testing a plugin with different colors for tags for WP and I was asking myself if I could make you meet the author to get a Giant Tagcloud Plugin :-)
GREAT WORK ! It’s perfect. I don’t know if you want to internationalize it. If not, I will try to make a french version. My cloud is much better. And I will try to find a solution to mixed it with the different colours plugin :-)
There’s not a lot to internationalize, but I’ll put that on the list. I’d still need translations, as my only non-English language is German, and that’s pretty rusty.
Ok, I will wait for next version :-)
Great upgrade. Plus works well with the Blibahblubah Tag Cloud.
Loving this plugin (I’ve looked at all the ones on the Wordpress site, and this is the best Tag Cloud widget I’ve found), but having a problem getting it to exclude tags. I’ve tried using both the tag text and the slug text in the Exclude box, but neither seems to work. I’m running 2.7.1 with version 4.0 of the plugin.
I’ll take a look and see what I can find.
I just wanted to know how you use color in the Tag Cloud? I don’t see how mincolor or maxcolor work… Can you help me?
Hi – great plugin, Philip!! I wanted to point out a minor bug to you. It occurs whenever the user happens to have the same number of each unique tag entry. The plugin reports a ‘divide by zero’ error in line 206 because the $min_count and $max_count are the same. Of course, this scenario doesn’t happen much in practice, but I ran into the error when playing around with the plugin on my new site. The fix is easy and would improve the plugin’s usability; it just requires an extra if/else statement. I have fixed it on my site and would be happy to send you the fix if you need it– Cheers!
Just wanted to thank you for this plugin. I have horribly disproportional tag usage (almost 400 for one, 17 for my next highest), so this is exactly what I needed for the cloud to mean anything.
I’m using 2.8 which it’s not listed as compatible with, but it seems to be working alright as far as I can tell. It doesn’t work with 3-digit hex codes, though.
My biggest suggestion would be to list the defaults by the field’s name.
Thanks! this makes things look so much better. Is there a way that I can make it so that the tags are not displayed in bold weight?
Nothing in LogCloud forces display in bold font weight. If your tags are showing in bold weight, it’s likely because your theme styles the included classes as bold, or styles < a > anchor tags as bold, or something along those lines.
Okay, I had tried digging around in my theme for those settings but couldn’t get it to work–well, back to more digging I guess… (thanks again, anyways)