WordPress at Your Fingertips

Taxonomies (category, tag) (category)

category_description()

Retrieve category description.

get_the_term_list()

Displays a list of links to taxonomy elements (e.g. tags) related to a specified post.

in_category()

Check if the current post is within any of the given categories.

single_cat_title()

Display or retrieve page title for category archive.

single_tag_title()

Display or retrieve page title for tag post archive.

single_term_title()

Display or retrieve title for the current taxonomy (category, tag, etc.). Uses on term archive pages.

tag_description()

Retrieve tag description.

term_description()

Retrieve term description.

the_taxonomies()

Display the taxonomies of a post with available options.

the_terms()

Display the terms in a list.

wp_dropdown_categories()

Display or retrieve the HTML dropdown list of categories. Instead of categories you can specify the name of an custom taxonomy.

wp_generate_tag_cloud()

Generates a tag cloud (heatmap) from provided data.

wp_list_categories()

Displays a list of categories as HTML links. If you click on the link, all posts from the category will be shown.

wp_tag_cloud()

Display tag cloud. The text size is set by the 'smallest' and 'largest' arguments, which will use the 'unit' argument value for the CSS text size unit. The 'format' argument can be 'flat' (default), 'list', or 'array'. The flat value for the 'format' argument will separate tags with spaces. The list value for the 'format' argument will format the tags in a UL HTML list. The array value for the 'format' argument will return in PHP array type format.