Single Tag Titlesingle_tag_title();

$prefix

String

$display

Boolean

(Optional) Display the title (True), or return the title to be used in PHP (False). Default: True.

Tag Descriptiontag_description();

First available with WordPress Version 2.8, this template tag returns the description of a tag. A tag ID can be passed as a parameter, but if no tag ID is passed, the description current queried tag will be returned.

<?php tag_description($tagID); ?>

$tagID

String

(Optional) The ID of the tag to return a description. Default: return description of current query tag.

The Tagsthe_tags();

This template tag displays a link to the tag or tags a post belongs to. If no tags are associated with the current entry, the associated category is displayed instead. This tag should be used within The Loop.

<?php the_tags($before, $separator, $after); ?>

$before

String

Text to display before the actual tags are displayed. Defaults to tags.

$separator

String

Text or character to display between each tag link. The default is a comma (,) between each tag.

$after

String

Text to display after the last tag. The default is to display nothing.

WP Generate Tag Cloudwp_generate_tag_cloud();

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 Tag CloudWP Tag Cloud();

Available with WordPress Version 2.3, the wp_tag_cloud() function displays a list of tags in what is called a 'tag cloud', where the size of each tag is determined by how many times that particular tag has been assigned to posts. Beginning with Version 2.8, the taxonomy parameter was added so that any taxonony could be used as the basis of generating the cloud. That means that a cloud for Categories or any other Custom Taxonomies can be presented to visitors.

<?php wp_tag_cloud($args); ?>

$args

Array

Default arguments:

<?php $args = array(

'smallest'

=>

8,

'largest'

=>

22,

'unit'

=>

'pt',

'number'

=>

45,

'format'

=>

'flat',

'separator'

=>

'\n',

'orderby'

=>

'name',

'order'

=>

'ASC',

'exclude'

=>

,

'include'

=>

,

'link'

=>

'view',

'taxonomy'

=>

'post_tag',

'echo'

=>

true

);

?>

By default, the usage shows:

smallest - The smallest tag (lowest count) is shown at size 8

largest - The largest tag (highest count) is shown at size 22

unit - Describes 'pt' (point) as the font-size unit for the smallest and largest values