Codex tools: Log in
Languages: English • 日本語 • (Add your language)
Contents |
Returns an HTML string that makes a tag cloud.
<?php wp_generate_tag_cloud( $tags, $args ); ?>
<?php $args = array(
'smallest' => 8,
'largest' => 22,
'unit' => 'pt',
'number' => 0,
'format' => 'flat',
'separator' => '\n',
'orderby' => 'name',
'order' => 'ASC',
'topic_count_text_callback' => 'default_topic_count_text',
'topic_count_scale_callback' => 'default_topic_count_scale',
'filter' => 1 ); ?>
wp_generate_tag_cloud() is located in wp-includes/category-template.php.
Tags: the_tags(), tag_description(), single_tag_title(), wp_tag_cloud(), wp_generate_tag_cloud(), get_tags(), get_the_tags(), get_the_tag_list(), get_tag_link()