Global Tag Cloud Plugin

NB This post is actually by Deanna Schneider – not James

The global tag cloud plugin is a widget and shortcode that allows users to display the tag cloud from any blog in the site on any other blog in the site. Why would you want to do this you ask? Well, we use this in conjunction with Donncha’s sitewide tags plugin to generate a sitewide tag cloud without touching any code.  And, because the widget allows you to pull from any blog, we’re not limited to having the sitewide tags plugin posting to the main blog.

In addition, you can use the shortcode to generate a customized tag cloud. While WPMU has a built-in shortcode for tag clouds, it takes no parameters. This  tag cloud can take the following parameters:

  1. smallest=[number]
  2. largest=[number]
  3. unit=[pt|px|em|%]
  4. number=[number]
  5. format=[flat|list]
  6. orderby=[name|count]
  7. order=[ASC|DESC|RAND]
  8. exclude=[csv of tags to exclude]
  9. include=[csv of tags to include]
  10. blogid = [numeric id of blog to highlight - defaults to current blog id]

Configuring the widget is simple. Just fill in the ID of the blog you wish to highlight, and fill in the rest of the relevant information.

The settings above result in a tag cloud that looks something like so:

If you’d like to use the widget to direct people to a larger tag cloud, fill in the slug for the tag cloud page. The “More” link will appear in your widget, linked to your tag cloud page.  On the tag cloud page, drop in the shortcode [cets_tag_cloud blogid=1], and watch the magic.

Download the code.

Featured Plugin - WordPress Membership Site Plugin

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - WordPress Appointments Plugin

Take, set and manage appointments and client bookings without having to leave WordPress. Appointments+ makes it easy.
Find out more

Featured Plugin - WordPress Wiki Plugin

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - WordPress Q&A Site Plugin

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - WordPress Infinite SEO Plugin

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - WordPress Pop-Up Chat Plugin

No javascript required, no third part chat engine, just fully featured chat right in your own database on your own WP sites - couldn't be easier.
Find out more

Featured Plugin - WordPress Facebook Plugin

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - WordPress Google Maps Plugin

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

Featured Plugin - WordPress Newsletter Plugin

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Comments (19)

  1. Wow, Deanna, this was fast, thank you.

    But unfortunately the plugin doesn’t work. I tried in the plugins and mu-plugins-folder. The tag-cloud is there but the links don’t go to mysite/tags/tag/whatever but to mysite/tags/blog/tag/whatever.

    This link then shows a “Not found”.

    Do you know any solution?

    Thanks
    Songline

  2. Are you using a sub-domain install? I only recently got a test sub-domain environment set up, and I don’t think I’ve tested this one on a sub-domain install. I’ll mess with it and see if I can get it working on sub-domains. Might take a few days, though, with the holidays.

  3. I submitted a patch for the switch_to_blog and restore_current_blog functions for wpmu. They don’t currently deal with permalinks, so this patch (theoretically) fixes that. But, it needs testing and feedback from the powers that be. If it gets approved, it should fix the problem.

  4. I didn’t expect it would. I didn’t change anything that would solve your problem. It’s an issue with core not rendering links correctly when doing a switch to blog function call. I’m working on a change to core. But, it’ll be a while before it’s committed.

  5. hi deanna,
    same problem here, would be great to have this fixed as i really love the idea of putting a all tag cloud on my main page.
    i am also running a subfolder install.
    thanks a lot and btw i love you plugins for wpmu, keep up the good work.

Participate