WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Better Tag Cloud

A better tag cloud. Lots of configuration options, a widget and a shortcode to add tag clouds to posts and pages.

  1. Unzip
  2. Upload to your plugin directory
  3. Enable the plugin
  4. Add the widget in your dashboard's Design section and configure it as you like.

The easiest way to use this plugin is to drag the new multiwidget into one of your sidebars.

Add a tag cloud inside a post or page

There is as well the shortcode [nktagcloud]. Examples:

  1. [nktagcloud] This displays the tag cloud as configured on the options page.
  2. [nktagcloud single=yes] This does the same but shows only the tags of the current post.
  3. [nktagcloud post_id=1234] Displays the tags of the post identified by post_id.
  4. [nktagcloud separator="" categories=no] Remove separator and categories.

Using the tag cloud in your theme

You can call the function nktagcloud_shortcode() from your theme to get the same output as from the shortcode. Example:

<?php
    if ( function_exists( 'nktagcloud_shortcode' ) ) {
        echo nktagcloud_shortcode( null );
    }

?>

There's also the nk_wp_tag_cloud() function. You can use it to generate a tag cloud with a different configuration than the plugin's one. It accepts the same parameters as wp_tag_cloud(). Example:

<?php
    if ( function_exists( 'nk_wp_tag_cloud' ) ) {
        echo nk_wp_tag_cloud( 'single=yes&separator= - &categories=no' );
    }

?>

Additonal parameters (all strings):

  • single: Only tags of the current post ('Yes', 'No')
  • categories: Inlude categories in the cloud ('Yes', 'No')
  • replace: Convert blanks to non-breaking spaces ('Yes', 'No')
  • post_id: Display only tags of the specified post (post ID)
  • mincount: Show only tags that have been used at least so many times
  • separator: Tag separator
  • inject_count: Add a counter to the tag ('Yes', 'No')
  • inject_count_outside: Add the counter outside of the tag hyperlink ('Yes', 'No')
  • nofollow: Add the noffow attribute to the tags in the cloud ('Yes', 'No')

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2010-12-10
Downloads: 121,032

Ratings

4 stars
4.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

1 person says it works.
1 person says it's broken.

100,1,1
100,1,1
100,1,1 100,1,1 100,2,2 100,1,1 100,2,2 100,1,1
100,1,1 100,1,1 100,3,3
100,1,1 100,2,2 100,1,1 100,1,1 100,1,1 100,3,3
75,4,3 100,3,3 100,1,1 100,1,1 100,2,2 100,1,1 100,1,1 100,3,3
100,2,2 100,11,11 100,2,2 100,1,1 100,3,3 100,1,1
100,6,6 100,1,1 100,2,2 100,2,2
93,14,13 75,4,3
100,1,1 100,1,1
100,3,3
100,3,3
100,1,1
93,14,13
100,3,3
100,2,2
100,3,3
100,3,3
86,7,6
100,2,2
50,2,1
50,4,2
100,2,2
67,3,2
100,1,1
100,1,1
50,2,1