Title: Ultimate Tag Cloud Widget
Author: Rickard Andersson
Published: <strong>2010 年 10 月 11 日</strong>
Last modified: 2014 年 4 月 19 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/ultimate-tag-cloud-widget.svg)

# Ultimate Tag Cloud Widget

 作者：[Rickard Andersson](https://profiles.wordpress.org/exz/)

[下载](https://downloads.wordpress.org/plugin/ultimate-tag-cloud-widget.2.7.2.zip)

 * [详情](https://cn.wordpress.org/plugins/ultimate-tag-cloud-widget/#description)
 * [评价](https://cn.wordpress.org/plugins/ultimate-tag-cloud-widget/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/ultimate-tag-cloud-widget/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/ultimate-tag-cloud-widget/#developers)

 [支持](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/)

## 描述

This is the highly configurable tag cloud widget, the main features for this plugin
is:

 * All, single author or multiple authors per cloud
 * Select which taxonomies or post types to show tags for
 * Rules for which posts to include when fetching tags
 * Inclusion/exclusion functions
 * A bunch of ordering, coloring and styling options
 * Multiple strategies for selecting terms with the option to [create your own](https://github.com/rickard2/utcw/blob/master/STRATEGY.md).
   Built in strategies for most popular, random, recently added, from current list
   of posts
 * Short code and API for developers

The development of this plugin has stopped. I will make sure that the basic features
still work with upcoming WordPress versions, but no new features or changes will
be made.

The [code is available on github](https://github.com/rickard2/utcw) and if you’re
in need of new features, you’re welcome to submit a pull request for it.

Quick links:

 * Short code information: https://wordpress.org/plugins/ultimate-tag-cloud-widget/
   other_notes/#Theme-integration-/-Shortcode
 * Short code configuration options: https://github.com/rickard2/utcw/blob/master/
   CONFIG.md
 * Playground which shows some configuration options: https://0x539.se/wordpress/
   tag-cloud-playground/
 * Custom selection strategy documentation: https://github.com/rickard2/utcw/blob/
   master/STRATEGY.md

### Feedback

This plugin is under active development and my goal is to try to help everyone who
have issues or suggestions for this plugin. If you find bugs or have feature requests
please use [GitHub issues](https://github.com/rickard2/utcw/issues), if you need
support please use the [WordPress forums](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget).

My contact information is

 * rickard (a) 0x539.se (email, hangouts, you name it)
 * [twitter.com/rickard2](http://twitter.com/rickard2)

If you use this plugin and like it, please consider [leaving a donation](https://0x539.se/donations/).

### Theme integration / Shortcode

You can integrate the widget within your own theme even if you’re not using standard
WordPress widgets. Just install and load the plugin as described and use the function

    ```
    <?php do_utcw($args); ?>
    ```

…with `$args` being a array of `key => value` pairs for the options you would like
to set. For example if you’d like to change the title of the widget:

    ```
    <?php
    $args = array( "title" => "Most awesome title ever" );

    do_utcw( $args );
    ```

To use multiple configuration options just separate them with a comma:

    ```
    <?php
    $args = array( "title" => "Most awesome title ever", "max" => 10 );

    do_utcw( $args );
    ```

If you’re not able to change your theme you can also use the shortcode `[utcw]` 
anywhere in your posts or pages. You can pass any of the settings along with the
shortcode in the format of `key="value"`, for instance if you’d like to change the
widget title:

    ```
    [utcw title="Most awesome title ever"]
    ```

The plugin also uses a couple of filters for you to be able to alter the output.
These are documented in the [filters documentation at GitHub](https://github.com/rickard2/utcw/blob/master/FILTERS.md).

As of version 2.6 you can create custom selection strategies, more information can
be found in the [strategy documentation at GitHub](https://github.com/rickard2/utcw/blob/master/STRATEGY.md)

### Configuration

All the configuration options can be found in the [configuration documentation at GitHub](https://github.com/rickard2/utcw/blob/master/CONFIG.md).

### Breaking changes in version 2.0

 * Tags lists with named tags will not work in version 2.0, only tags lists with
   IDs.
 * The configuration option for text case has been renamed from case to text_transform
 * The styles for links aren’t marked as `!important` in the CSS longer, this might
   change the cloud presentation in some cases
 * The shortcode and theme integration function call no longer accepts the widget
   arguments `before_widget`, `after_widget`, `before_title` and `after_title`

### Thanks

The power of the open source community is being able to help out and submitting 
patches when bugs are found. I would like to thank the following contributors for
submitting patches and helping out with the development:

 * Andreas Bogavcic
 * Fabian Reck

With your help this list will hopefully grow in the future 😉

## 屏幕截图

 * [[
 * This shows my widget with the default settings on the default wordpress theme.
 * [[
 * This is a more colorful example with random colors and all tags in uppercase.
   I’d like to actually see someone use it like this.
 * [[
 * Maybe a more realistic usage of the widget with spanning colors and capitalized
   tags.
 * [[
 * The settings page of the widget

## 安装

This is the same procedure as with all ordinary plugins.

 1. Download the zip file, unzip it
 2. Upload it to your /wp-content/plugins/ folder
 3. 通过WordPress的“插件”菜单激活插件
 4. Use the widgets settings page under ‘Appearance’ to add it to your page

All the configuration options is set individually in every instance. Some default
values are set if you’re unsure on how to configure it.

If your theme doesn’t use widgets, you can still use it in your theme by calling
the function `do_utcw()` or by using the shortcode `[do_utcw]`. See [Other Notes](https://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/other_notes/#Theme-integration-/-Shortcode)
for more information.

## 常见问题

If you have questions, please post them in the forums.

  Installation Instructions

This is the same procedure as with all ordinary plugins.

 1. Download the zip file, unzip it
 2. Upload it to your /wp-content/plugins/ folder
 3. 通过WordPress的“插件”菜单激活插件
 4. Use the widgets settings page under ‘Appearance’ to add it to your page

All the configuration options is set individually in every instance. Some default
values are set if you’re unsure on how to configure it.

If your theme doesn’t use widgets, you can still use it in your theme by calling
the function `do_utcw()` or by using the shortcode `[do_utcw]`. See [Other Notes](https://wordpress.org/extend/plugins/ultimate-tag-cloud-widget/other_notes/#Theme-integration-/-Shortcode)
for more information.

## 评价

![](https://secure.gravatar.com/avatar/ac9dbf5bf06f31d8d3dbf04c097560d14554ab197f803875f0c9f462af77a822?
s=60&d=retro&r=g)

### 󠀁[Still working](https://wordpress.org/support/topic/still-working-69/)󠁿

 [taxumi](https://profiles.wordpress.org/taxumi/) 2018 年 4 月 13 日

This plugin surprisingly works very well on my 4.9.5 Wordpress installation. Great
and unique plugin for this function.

![](https://secure.gravatar.com/avatar/c4c2b9f875f92faf7f4538710ed9eccd5f95fb89790f42062a63a9059840da16?
s=60&d=retro&r=g)

### 󠀁[Bug with Polylang](https://wordpress.org/support/topic/bug-with-polylang/)󠁿

 [MZsolt](https://profiles.wordpress.org/mzsolt/) 2017 年 5 月 5 日

I would use with Oshine template. Unfortunately, it conflicts with one of the plugins.
Specifically with the Polylang plugin. The page stops loading wherever I use the
ultimate tag cloud widget. For reasons of relevance, the polylang remains, but it
would be good if this interaction would be corrected because I like the Ultimate
Tag Cloud plugin.

![](https://secure.gravatar.com/avatar/c537c1344c87f5c3626e61e37eb84c1f8ddf8b4885a2e6dc68d369844116b4a1?
s=60&d=retro&r=g)

### 󠀁[Seems to be broken](https://wordpress.org/support/topic/seems-to-be-broken-12/)󠁿

 [Rocco Marco Guglielmi](https://profiles.wordpress.org/roccomarco/) 2016 年 9 月
3 日

Seems to be broken

![](https://secure.gravatar.com/avatar/b428d125e181ff9f6079d21a20641f3b3e17da29a31bbf11a31e28abbf59ed94?
s=60&d=retro&r=g)

### 󠀁[nice](https://wordpress.org/support/topic/nice-1564/)󠁿

 [tonyx4x44](https://profiles.wordpress.org/tonyx4x44/) 2016 年 9 月 3 日

very nice… need an option to make the text bold though

![](https://secure.gravatar.com/avatar/4ca219bec013371f9a4aa56557a4c3f6c7d28600e14f1d9291daa012e92ddb99?
s=60&d=retro&r=g)

### 󠀁[Nice Plugin](https://wordpress.org/support/topic/nice-plugin-1403/)󠁿

 [Hello](https://profiles.wordpress.org/thanapon/) 2016 年 9 月 3 日

Very nice plugin and working great for my website. Thanks.

![](https://secure.gravatar.com/avatar/1c084c5a5407de76ff16f0510331317fa4321cae7a62f8aac1f09927cdf3338b?
s=60&d=retro&r=g)

### 󠀁[Poor coding practices](https://wordpress.org/support/topic/poor-coding-practices-1/)󠁿

 [samliew](https://profiles.wordpress.org/samliew/) 2016 年 9 月 3 日

Inserts inline styles in page instead of using a hook to place it at the header/
footer of the page.

 [ 阅读所有50条评价 ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/)

## 贡献者及开发者

「Ultimate Tag Cloud Widget」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Rickard Andersson ](https://profiles.wordpress.org/exz/)

[帮助将「Ultimate Tag Cloud Widget」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/ultimate-tag-cloud-widget)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/ultimate-tag-cloud-widget/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/ultimate-tag-cloud-widget/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/ultimate-tag-cloud-widget/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/ultimate-tag-cloud-widget/)。

## 更新日志

#### 2.7.2

 * [#69](https://github.com/rickard2/utcw/issues/69): Fix issues selection strategies

#### 2.7.1

 * [#66](https://github.com/rickard2/utcw/issues/66): Fix issues with theme customizer
   in 3.9

#### 2.7

 * [#60](https://github.com/rickard2/utcw/issues/60): Add css classes to target 
   individual terms
 * [#61](https://github.com/rickard2/utcw/issues/61): Adds missing translation
 * [#62](https://github.com/rickard2/utcw/issues/62): Fix formatting issue in settings
   page
 * [#63](https://github.com/rickard2/utcw/issues/63): Support shortcodes in prefix
   and suffix
 * [#65](https://github.com/rickard2/utcw/issues/65): Fix issue with WPML displaying
   no (or too few) terms

#### 2.6.1

 * [BUGFIX](https://wordpress.org/support/topic/bug-53): Fixed issue with widget
   markup when using avoid theme styling option

#### 2.6

 * [#46](https://github.com/rickard2/utcw/issues/46): Bring back styling behavior
   of <= v2.2 with a [configuration option](https://github.com/rickard2/utcw/blob/master/CONFIG.md#avoid-theme-styling)
 * [#48](https://github.com/rickard2/utcw/issues/48): Support for custom selection
   strategies to enable clouds with custom data sources. [Detailed documentation for defining your own strategy](https://github.com/rickard2/utcw/blob/master/STRATEGY.md).
 * [#50](https://github.com/rickard2/utcw/issues/50): Added translation files
 * [#51](https://github.com/rickard2/utcw/issues/51): Try to prevent line breaks
   in terms with multiple words
 * [#54](https://github.com/rickard2/utcw/issues/54): Support for attachment as 
   custom post type

#### 2.5

 * [#14](https://github.com/rickard2/utcw/issues/14): Updated UI for selecting authors
 * [#22](https://github.com/rickard2/utcw/issues/22): Option to fetch terms based
   on the current list of posts and term creation time
 * [#35](https://github.com/rickard2/utcw/issues/35): Updated UI for selecting post
   terms
 * [#41](https://github.com/rickard2/utcw/issues/41): New option to add filtering
   to tag cloud links
 * [#42](https://github.com/rickard2/utcw/issues/42): Added scope attribute to style
   tag

#### 2.4

 * Fixed issue with WPML and custom taxonomies
 * [#32](https://github.com/rickard2/utcw/issues/32): Added filters to enable developers
   to hook into the plugin
 * [#33](https://github.com/rickard2/utcw/issues/33): Updated JS code to support
   newer versions of jQuery
 * [#36](https://github.com/rickard2/utcw/issues/36): [#38](https://github.com/rickard2/utcw/issues/38):
   Added options for changing the value of the title attribute
 * [#37](https://github.com/rickard2/utcw/issues/37): Fixed UI issue with the show
   title option always being checked
 * [#39](https://github.com/rickard2/utcw/issues/39): Added option to add post count
   to the term name

#### 2.3.1

 * Security fix for sensitive data exposed when using the debug option

#### 2.3

 * [#27](https://github.com/rickard2/utcw/issues/27): Added filtering feature to
   generate a cloud of posts which have a common term/terms
 * [#28](https://github.com/rickard2/utcw/issues/28): Added more styling options(
   center, right align, justify, display as list)
 * [#29](https://github.com/rickard2/utcw/issues/29): Changed CSS classes to match
   the WordPress tag cloud
 * [#25](https://github.com/rickard2/utcw/issues/25): [#26](https://github.com/rickard2/utcw/issues/26),
   [#31](https://github.com/rickard2/utcw/issues/31): Internal / code quality

#### 2.2.3

 * Fixed naming collision issue with other plugins

#### 2.2.2

 * Fixed widget initialization issue

#### 2.2.1

 * Fixed issue with older PHP versions which doesn’t support namespaces

#### 2.2

 * [#19](https://github.com/rickard2/utcw/issues/19): Support for disabling links
   in tag cloud output
 * [#20](https://github.com/rickard2/utcw/issues/20): Support for loading a saved
   configuration from short code
 * [#23](https://github.com/rickard2/utcw/issues/23): Multi language support with
   qTranslate and WPML
 * [#24](https://github.com/rickard2/utcw/issues/24): Support for selecting a random
   set of tags

#### 2.1

 * [#4](https://github.com/rickard2/utcw/issues/4): Support for multiple taxonomies
   per widget
 * [#5](https://github.com/rickard2/utcw/issues/5): Improved UI for selecting authors
 * [#9](https://github.com/rickard2/utcw/issues/9): Support for setting minimum 
   post count to zero
 * [#10](https://github.com/rickard2/utcw/issues/10): Support for removing configurations
 * [#12](https://github.com/rickard2/utcw/issues/12): Support for other measurements
   than pixels
 * [#15](https://github.com/rickard2/utcw/issues/15): Fixed problem with authors
   setting not working correctly

#### 2.0.1

 * Small bug fix in the widget options panel

#### 2.0

 * New plugin structure
 * Minor changes to the administration interface

The changelog history for the 1.x branch is available on [GitHub](https://github.com/rickard2/utcw/blob/master/CHANGELOG.md)

The upgrade notice history for the 1.x branch is available on [GitHub](https://github.com/rickard2/utcw/blob/master/UPGRADE.md)

## 额外信息

 *  版本 **2.7.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **4,000+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **3.9.40**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ultimate-tag-cloud-widget/)
 * 标签
 * [configurable](https://cn.wordpress.org/plugins/tags/configurable/)[tag cloud](https://cn.wordpress.org/plugins/tags/tag-cloud/)
   [tags](https://cn.wordpress.org/plugins/tags/tags/)[widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/ultimate-tag-cloud-widget/advanced/)

## 评级

 4.6 星（最高 5 星）。

 *  [  42 条 5 星评价     ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/?filter=5)
 *  [  3 条 4 星评价     ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/?filter=2)
 *  [  3 条 1 星评价     ](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/reviews/)

## 贡献者

 *   [ Rickard Andersson ](https://profiles.wordpress.org/exz/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/ultimate-tag-cloud-widget/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://0x539.se/donations/)