Polymorph: Zak Greant's Blog

WordPress Cat Cloud Plugin v0.2.2 released

Update: This plugin is no longer maintained. I'd recommend using Wordpress' built-in tag cloud functionality or the Simple Tags plugin instead.

Version 0.2.2 of the Category Cloud WordPress plugin has been released. The code is even uglier than the previous version. :)

New features include:

  • style sheet now moved into head of generated output
  • additional options for controlling the display font and the characters used before and after the category names have been added to the admin console
  • a bug in the validation of font sizes has been fixed (and you can now enter in font sizes with decimal amounts)

Download the plugin from http://zak.greant.com/catcloud-v0.2.2.zip

Share/Save/Bookmark

Tags: , ,

Related posts


Posted on Saturday, April 1st, 2006 at 10:35

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a response, or trackback from your own site.

17 Responses to “WordPress Cat Cloud Plugin v0.2.2 released”

  1. bolo (1 comments) Says:
    April 1st, 2006 at 12:42

    Work Fine for me :p

  2. mdupuis (1 comments) Says:
    April 4th, 2006 at 12:16

    Hi, remember me ? we met at the phpquebec conference.

    Anyway, I coded a similar plugin a long time ago based on Weighted Categories (distributed on hitormiss.com). My plugin is very minimalistic but maybe you wanna check it. Of course it's installed on my blog. I just don't have as much categories as you do. :P

    Thanks again for the book (MySQL phrasebook). I'll write a review soon.

  3. Jason (1 comments) Says:
    April 18th, 2006 at 9:43

    Great plugin!

    Would it be possible to have the option to only show the top X catagories (X being a number like 15 or 60)?

    Thanks in advance!

  4. zak (71 comments) Says:
    April 18th, 2006 at 10:14

    Hi Jason,

    That is a quick thing to add - will hack it in sometime in the next few weeks.

  5. Crook (1 comments) Says:
    May 17th, 2006 at 1:39

    Zak, nice plugin. How can I get the plugin to use my theme's css rather than the css in the .php file?

  6. emeff (1 comments) Says:
    May 21st, 2006 at 13:30

    Hovering a 'tag' shows the description of the category - but unfortunatly not on sub categories. Will you fix this?

  7. Travis Seitler (2 comments) Says:
    May 26th, 2006 at 8:20

    Zak, wonderful plugin! I've got a possible bug, though: the size/color formatting doesn't seem to be applied to categories with only 1 entry. You can see my blog's sidebar for an example — look specifically at "Contest," "Gaming" and "Homeschooling." Any chance this is an easy fix?

    —-

    Hi Travis,

    Thanks for writing

    What version of the plugin are you using?

    Did you modify the plugin - the CSS looks a bit different.

    The fix might be as simple as adding a newline ("\n") before the tab ("\t") in the line below in the plugin code.

    $output['css'] .= "\t#catcloud { font-family: $catcloud_font_face };";

    Cheers!
    –zak

  8. Brian (2 comments) Says:
    June 2nd, 2006 at 1:00

    Hey, I think I noticed a minor bug with the color step size.

    If you have a large discrepancy between the number of posts in your smallest category and the number of posts in your largest category, the color step size can be rounded to 0 or 1 (which could result in going beyond 255 or below 0).

    Fix would be along the lines
    1. Remove the rounding when calculating the step size

    foreach($color_min as $k => $v){
    $color_step[$k] = mk_step($v, $color_max[$k], $counts);
    }

    and then
    2. Add rounding when calculating the value at a particular step

    foreach($color_min as $k => $v){
    $c[$k] = round( mk_stepped_base($v, $color_step[$k], $count) );
    }

  9. Southern Discomfort » For my next act… {The category cloud quest, updated} Says:
    July 1st, 2006 at 18:01

    [...] Okay, here's the link to what seems to be a good plugin for this function, from Zak Greant’s blog: Cat Cloud Plugin v0.2.2 [...]

  10. boogi (1 comments) Says:
    July 20th, 2006 at 7:13

    I was wondering if there was any way to get Cat Cloud to only display a specific number of tags. For example, calling catcloud(25) would form a cloud with only the top 25 tags in it. I took a look at the code and it doesn't look like that's possible, but can you suggest an easy way to get this done? Thanks.

  11. Adriana (1 comments) Says:
    July 28th, 2006 at 11:12

    Hello
    there is any documentation/tutorial anywhere on how to use this? I downloaded the zip file and there is anything but the php file and the license.
    I installed it sucessfully but it doesn't show in the theme I'm using, and I have no idea what to do next.
    Thanks

  12. zak (71 comments) Says:
    July 28th, 2006 at 11:48

    Hi!

    Put a call to

    catcloud()

    inside your templates where you would like the category cloud to show up.

    You can configure the plugin by visiting WordPress\' Plugin -> Cat Cloud Configuration and setting options.


    Cheers!
    –zak

  13. Compilação v.2 :: Clouds Says:
    August 5th, 2006 at 8:16

    [...] Aí eu me empolguei com essa história de nuvens e resolvi colocar as categorias do site também em nuvem, usando o plugin do wordpress Cat Cloud. [...]

  14. drivers (2 comments) Says:
    February 23rd, 2008 at 11:22

    can it use in wordpress 2.3?

  15. Vancouver Internet Marketing (1 comments) Says:
    February 25th, 2008 at 14:22

    It's no longer maintained. Anyone know where I can download it?

  16. Vancouver web design (1 comments) Says:
    February 25th, 2008 at 14:23

    I wish there was more documentation.

  17. Eule (1 comments) Says:
    February 26th, 2008 at 4:15

    Actually I liked your plugin more than the built-in cloud. Any chance that you release a new version?

Leave a Reply

Comments are moderated. I delete obvious SEO attempts and other content-free comments.

Polymorph is powered by Wordpress running on Apache, Ubuntu Linux, MySQL and PHP.

The marvelous illustration of the Mad Hatter is by the late, great John Tenniel.
Like many great parts of our culture, it is in the public domain.

Contact: zak@greant.com | Gnu Privacy Guard Key

Entries (RSS) and Comments (RSS)