[wordpress插件] ILWP Colored Tag CloudILWP彩色标签云

wordpress 插件 文章 2020-01-22 21:00 616 0 全屏看文

AI助手支持GPT4.0

评分

80

80

描述

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.

函数在“ if function_exists”语句中调用。

Usage:

用法:

if ( function_exists( ‘ilwp_colored_tag_cloud’ )
    

如果(function_exists(‘ilwp_colored_tag_cloud’)
    

ilwp_colored_tag_cloud( $options = array() );

ilwp_colored_tag_cloud($ options = array());

Available options, and their defaults:

可用选项及其默认值:

    $default_colors = array(    'aqua', 'black', 'blue', 'fuchsia',                                

  $ default_colors = array('aqua','black','blue','紫红色,                                

'gray', 'green', 'lime', 'maroon',                                

'灰色','绿色','石灰','栗色',                                

'navy', 'olive', 'purple', 'red',                                

'海军','橄榄','紫色','红色',                                

'silver', 'teal', 'white', 'yellow');    

“银”,“蓝绿色”,“白色”,“黄色”);    

$default['min_size'] = 8;    

$ default ['min_size'] = 8;    

$default['max_size'] = 40;    

$ default ['max_size'] = 40;    

$default['number'] = 0;    

$ default ['number'] = 0;    

$default['use_colors'] = 1;    

$ default ['use_colors'] = 1;    

$default['use_color_names'] = 1;    

$ default ['use_color_names'] = 1;    

$default['sort'] = 'random';    

$ default ['sort'] ='random';    

$default['order'] = 'ASC';    

$ default ['order'] ='ASC';    

$default['color_names'] = $default_colors;

$ default ['color_names'] = $ default_colors;

安装步骤

Installation is easy:

安装简单:

* Install automatically through the Add New plugin page in WordPress, -or-

*通过WordPress中的“添加新插件”页面自动安装-或-

To manually install:

要手动安装:

    • Download and unzip the plugin file.
    • 下载并解压缩插件文件。

    • Copy the folder to the plugins directory of your blog.
    • 将文件夹复制到博客的plugins目录。

    • Enable the plugin in your admin panel.
    • 在管理面板中启用插件。

    • Each widget can now be configured in its widget menu
    • 现在可以在其小部件菜单中配置每个小部件

下载地址

https://downloads.wordpress.org/plugin/a-colored-tag-cloud.zip

https://downloads.wordpress.org/plugin/a-colored-tag-cloud.zip

-EOF-

AI助手支持GPT4.0