這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

ILWP Colored Tag Cloud

描述

Displays a configurable colored tag cloud as a widget, or in your template, or both.

Using in templates

Use the function in your theme files if desired. It is always advisable to wrap
the function call in an ‘if function_exists’ statement.

Usage:
if ( function_exists( ‘ilwp_colored_tag_cloud’ )
ilwp_colored_tag_cloud( $options = array() );

Available options, and their defaults:

    $default_colors = array(    'aqua', 'black', 'blue', 'fuchsia',
                                'gray', 'green', 'lime', 'maroon',
                                'navy', 'olive', 'purple', 'red',
                                'silver', 'teal', 'white', 'yellow');

    $default['min_size']        = 8;
    $default['max_size']        = 40;
    $default['number']          = 0;
    $default['use_colors']      = 1;
    $default['use_color_names'] = 1;
    $default['sort']            = 'random';
    $default['order']           = 'ASC';
    $default['color_names']     = $default_colors;

安裝

Installation is easy:
* Install automatically through the Add New plugin page in WordPress, -or-

To manually install:

  • Download and unzip the plugin file.
  • Copy the folder to the plugins directory of your blog.
  • Enable the plugin in your admin panel.
  • Each widget can now be configured in its widget menu

評價

閱讀全部2個評價

貢獻者及開發者

“ILWP Colored Tag Cloud” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ILWP Colored Tag Cloud 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

2.4.1

  • Fixed an echo error in the shortcode handler.

2.4

  • Added a shortcode handler, see the plugin page at http://ilikewp.com/colored-tag-cloud-for-wordpress-blogs/ for details on usage.

2.3

  • Removed deprecated functions, tested with WP v 3.6-alpha

2.1

  • Minor update for later WP versions 3.1 and up.

2.0.2

  • Added a sort order option, allowing users to sort the cloud in either direction. Added functionality so that if ‘color names’ field is left blank, colors default to the default color set.

2.0.1

  • v2.0 introduced an error, “missing argument in line 30” for users calling the function directly from their templates. This has been fixed.

2.0

  • Added sort option – Name, Most Used, Random
  • Updated to multi-instance widget using WordPress WP_Widget API

1.3

  • Updated for WP 3.0.

1.2

  • changed the way default options are handled on initialization
  • changed to retrieve top tags before random sort of tag cloud

1.1

  • Added option to control # of tags displayed.