A Plugin for WordPress 2.3: Include Categories in the Tag Cloud

by filosofo. Posted on June 16, 2007 at 5:34 pm

I’m running the cutting-edge development version of the WordPress blogging platform (known as “trunk” to WordPress geeks). So I’m enjoying some of the features that will appear in the next version of WordPress, 2.3, which will probably be released towards the end of the summer.

The biggest new feature for 2.3 so far is built-in tagging. Actually the categories, link categories, and tags are all part of a new “terms” schema. So I’ve converted my tags from Jerome’s tag plugin, and I’m using the new wp_tag_cloud function for my tag cloud.

I like to include my categories in my tag cloud, so I wrote a little plugin to do that, using the trunk terms API. It also takes advantage of WordPress’s object cache to reduce MySQL queries. Enjoy.

Please note: unless you’re running trunk (or it’s months after I’ve written this post, and you’re using WordPress 2.3 or newer), this plugin won’t do anything for you.

Where do I download it?

Include Categories in Tag Heat Map 1.5 | September 17, 2007

See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?

My Amazon.com Wish List

This month I have received $57.00 in donations for the free plugins I offer here, which is about $0.09 per download.

5 Trackbacks/Pingbacks

  1. [...] has developed the first Wordpress 2.3 Plugin for including categories in Tag Clouds. You’ll need to be running cutting edge WordPress 2.3 to use the [...]

  2. [...] looks promising… for those who like tag clouds:A Plugin for WordPress 2.3: Include Categories in the Tag Cloud. I, however, am not one of those people. [...]

  3. [...] ergründet. Rückmeldungen sind willkommen! Bei Austin Matzko gibt es übrigens ein Plugin, dass der Tagcloud die “normalen” Kategorien von WordPress hinzufügt. « [...]

  4. [...] “Ultimate Tag Warrior” Plugin stammen, übernehmen könnte. Immerhin gibt es Anstrengungen, wenigstens die Kategorien zu [...]

  5. [...] Il Filosofo ยป A Plugin for WordPress 2.3: Include Categories in the Tag Cloud [...]

3 Comments

  1. Rohit Bhute commented on September 11, 2007 at 11:32 am | Permalink
    Rohit Bhute

    Hi. I’m using this plugin on my test install of WP 2.3 beta 3 on localhost – I’m keeping pace with the releases and plan to upload it when it becomes 2.3 stable.

    It is working great. But if there is a category with same name as tag, then in tag cloud, the post count is shown only for tag and not inclusive of category posts.

  2. Rohit Bhute commented on November 24, 2007 at 1:04 pm | Permalink
    Rohit Bhute

    I am using this plugin – I solved my previous problem by simply not overlapping categories and tags.

    Now however, I am getting a problem in the link generation.

    Please see http://rvbhute.org/tag-cloud/ . I *had* a tag ubuntu. But now I only have a category of that name. However, the link in the tag cloud shows it as http://rvbhute.org/tag/ubuntu/ instead of http://rvbhute.org/category/ubuntu/ .

    I think it is because I previously had a tag of that name. The count is correct, the link is erroneous.

  3. Jitender commented on October 30, 2008 at 11:13 am | Permalink
    Jitender

    Hello ,
    I am using this plugin on my website. It worked for few mins . I did a few changes to my categories and removed few tags and it stopped working.
    I am using version 2.6.3 of wordpress.
    Could you pls assist me how to make this work.

    I would certainly need this plugin . It is the second thing my site is working on .
    First one is TDO FORMS.
    These two plugins are only used in my site.
    Please sir help me out.

See some of the other WordPress plugins I’ve created.
Like this plugin? Is it worth a latte?

My Amazon.com Wish List

This month I have received $57.00 in donations for the free plugins I offer here, which is about $0.09 per download.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*