Polymorph: Zak Greant's Blog

catcloud WordPress Plugin v0.3

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

I just updated the catcloud plugin for WordPress.

The new version includes an additional configuration setting to optionally limit the display of categories to an arbitrary amount - ie. show only the top 25 categories.

Grab the v0.3 release at http://zak.greant.com/catcloud-0.3.zip

For installation notes and such, see http://zak.greant.com/catcloud or the INSTALL file in the zip archive.

Share/Save/Bookmark

Tags: , ,

Related posts


Posted on Saturday, August 5th, 2006 at 22:01

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

Both comments and pings are currently closed.

29 Responses to “catcloud WordPress Plugin v0.3”

  1. Josh (1 comments) Says:
    August 9th, 2006 at 17:59

    is it possible to display the category's description inside the cloud?

    ex:

    if i have my category as FASHION and the description as LOVING. i would like to get the cloud to show FASHION LOVING.

    thanks!

  2. zak (71 comments) Says:
    August 10th, 2006 at 8:04

    Sure - in file catcloud.php, change line number 162 from this:

    # $name .= " ($count)";

    to:

    $name .= ' ' . $title;

  3. Merle (5 comments) Says:
    August 16th, 2006 at 5:20

    Any idea how to get this to work on WPMU as a global categories type plugin?

  4. zak (71 comments) Says:
    August 16th, 2006 at 6:47

    Hey Merle,

    No idea on how to get this to work on WPMU as a global categories plugin.

    Cheers!
    –zak

  5. Merle (5 comments) Says:
    August 16th, 2006 at 6:50

    sadness.. thanks anyway!

  6. zak (71 comments) Says:
    August 16th, 2006 at 9:45

    Merle, I am guessing that you tried it and it didn't work? I have never tried Wordpress MU … –zak

  7. Merle (5 comments) Says:
    August 16th, 2006 at 14:03

    actually… I tried one that was called category cloud but just noticed it is totally different from yours ?_? will try in a bit

  8. Merle (5 comments) Says:
    August 17th, 2006 at 7:48

    hm is there some extra tag thing wordpress has that MU doesn't? the normal categories aren't even showing up in catcloud ;_;.. it's also placing a white line plus a "No categories" at the top of every page

  9. zak (71 comments) Says:
    August 17th, 2006 at 7:58

    Hi Merle,

    I don't know Wordpress MU at all - perhaps try the MU docs and then the support forums?

    –zak

  10. Merle (5 comments) Says:
    August 17th, 2006 at 8:04

    :| ok thanks!!

  11. kenneth (2 comments) Says:
    August 19th, 2006 at 0:41

    Hi zak

    I quite like your catcloud and it works great with my hundred-word-blog.

    On my Geneablog I can call the catcloud all right, however the formatting is not included (min/max font sizes and start/end colors). All tag-links are formatted just as the rest of the sidebar, defined in the stylesheet.

    Any ideas?

  12. kenneth (2 comments) Says:
    August 20th, 2006 at 4:02
    • never mind. I tried another theme and now it works.
  13. Sofia Cardita (1 comments) Says:
    September 10th, 2006 at 8:47

    Thanks for building this :)

  14. moty (1 comments) Says:
    September 12th, 2006 at 12:43

    hi mates I wonder at installing this plugin to my blog - in the file there is:
    To generate the tag cloud, call the catcloud() function at the point in your template where you would like the tag cloud displayed.

    How can I call this functionm - sorr I dunno php :(

  15. zak (71 comments) Says:
    September 12th, 2006 at 12:58

    Hi moty,

    I am assuming that you have installed the plugin in your wp-content/plugins directory.

    To get the catcloud to display, try these steps.

    Go to your administration interface for WordPress.

    Choose the "Presentation" tab.

    Choose the "Theme Editor" tab.

    Select the "Sidebar" file from the list of files on the right hand side.

    The file will display in the form field.

    Try adding this:

    <?php catcloud(); ?>

    at the very end of the file.

    Save the file.

    Reload your main blog page.

    You should, I hope, see the category cloud.

    Cheers!
    –zak

  16. Jack C (3 comments) Says:
    October 12th, 2006 at 16:58

    Sorry to ask, I also am a little lost, I went to the sidebar file, but what is the code your supposed to add? I just dont want to break anything : ) thanks

    J

    Great plugin btw

  17. zak (71 comments) Says:
    October 12th, 2006 at 19:40

    Hi Jack,

    It should add a tag cloud - just look down on this page to see what it should add.

    Cheers!
    –zak

  18. Jack C (3 comments) Says:
    October 12th, 2006 at 20:58

    sorry I wasnt clear, my bad, I meant what code do I add to the sidebar code in order to make that cloud appear? You wrote this

    "Try adding this:
    at the very end of the file.
    Save the file."

    But I dont see what I am supposed to add at the end of the file, sorry if this is simple, Im not proficient with calling functions and coding. Thanks

  19. zak (71 comments) Says:
    October 12th, 2006 at 21:33

    Aha. I see now that something very important was left out of the comment: <?php catcloud(); ?>

  20. Jack C (3 comments) Says:
    October 13th, 2006 at 9:42

    Great! thanks for the help, doesnt work : ) but I think its because I am using a theme with two widget sidebars, ah well, appreciate it anyways :)

  21. Patrick (2 comments) Says:
    November 4th, 2006 at 8:23

    Thanks a lot for writing this cleaned up version of the tagging cloud plugin. It works fantastically, especially since you've included such great directions for installation. I guess we're not all sysadmins! Again, thanks.

  22. Volpe Leggendaria (1 comments) Says:
    January 14th, 2007 at 9:28

    I like your plugin - very simple but extremely impressive - and I used it in my blog (volpe.mine.nu). Thank you!

  23. Evan (1 comments) Says:
    January 23rd, 2007 at 19:13

    The catcloud can't work perfect with WP2.1, please fix it.
    Thank you very much!

  24. Travis Seitler (2 comments) Says:
    January 24th, 2007 at 8:57

    Hey there, I've been using the plugin for months and I love it!

    Only thing is, I've just upgraded to WP 2.1 and it doesn't work. I get "No categories" at the top of every page (and I mean every page — admin pages, too). I thought it would be as simple as changing $allcats = trim(listcats to $allcats = trim(wplist_cats, but that seemed to throw the blog into an endless loop or something.

  25. Ian Delaney (1 comments) Says:
    January 24th, 2007 at 12:51

    Hi there… version 2.1 of wordpress seems to break your plugin. Is there any chance of an update?

  26. Paul (2 comments) Says:
    January 27th, 2007 at 3:00

    Does it work in WordPress 2.1? I tried. But dun think it work. :(

  27. zak (71 comments) Says:
    January 28th, 2007 at 0:08

    I haven't taken a look at WP2.1, but I'll check it out soon and update the plugin.

  28. Matax (1 comments) Says:
    August 22nd, 2007 at 13:31

    Hi thx for the plugin I love the tag cloud.
    I want to add the tag cloud by using a widget, is it possible?

  29. Zak Greant (76 comments) Says:
    August 22nd, 2007 at 13:35

    Hi Matax,

    Sorry - I probably won't have time to widgetify CatCloud for a while.

    Cheers!
    –zak

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)