A WordPress-centric search engine for devs and theme authors



wp-includes/category-template.php ›

Functions30
Taxonomy API: Core category-specific template tags


Function Short description
category_descriptionRetrieves category description.
default_topic_count_scaleDefault topic count scaling for tag links.
get_category_linkRetrieves category link URL.
get_category_parentsRetrieves category parents with separator.
get_tag_linkRetrieves the link to the tag.
get_term_parents_listRetrieves term parents with separator.
get_the_categoryRetrieves post categories.
get_the_category_by_idRetrieves category name based on category ID.
get_the_category_listRetrieves category list for a post in either HTML list or custom format.
get_the_tagsRetrieves the tags for a post.
get_the_tag_listRetrieves the tags for a post formatted as a string.
get_the_termsRetrieves the terms of the taxonomy that are attached to the post.
get_the_term_listRetrieves a post's terms as a list with specified format.
has_categoryChecks if the current post has any of given category.
has_tagChecks if the current post has any of given tags.
has_termChecks if the current post has any of given terms.
in_categoryChecks if the current post is within any of the given categories.
tag_descriptionRetrieves tag description.
term_descriptionRetrieves term description.
the_categoryDisplays category list for a post in either HTML list or custom format.
the_tagsDisplays the tags for a post.
the_termsDisplays the terms for a post in a list.
walk_category_dropdown_treeRetrieves HTML dropdown (select) content for category list.
walk_category_treeRetrieves HTML list content for category list.
wp_dropdown_categoriesDisplays or retrieves the HTML dropdown list of categories.
wp_generate_tag_cloudGenerates a tag cloud (heatmap) from provided data.
wp_list_categoriesDisplays or retrieves the HTML list of categories.
wp_tag_cloudDisplays a tag cloud.
_wp_object_count_sort_cbServes as a callback for comparing objects based on count.
_wp_object_name_sort_cbServes as a callback for comparing objects based on name.