the_category( string $separator = '', string $parents = '', int $post_id = false )

Display category list for a post in either HTML list or custom format.


25 related functions found for: the_category

Top ↑

Related terms found for this post

TaxonomyTerms
wp-parser-related-wordscategori, categories, category, category-template-php, taxonomi, taxonomy, wp-includes
wp-parser-packageTemplate, WordPress
wp-parser-source-filewp-includes/category-template.php

Top ↑

Terms Used Terms Used

Terms used in the related posts query

  • categori
  • categories
  • category
  • category-template-php
  • taxonomi
  • taxonomy
  • Template
  • wp-includes
  • wp-includes/category-template.php
  • template

Top ↑

Description Description


Top ↑

Parameters Parameters

$separator

(string) (Optional) Separator between the categories. By default, the links are placed in an unordered list. An empty string will result in the default behavior.

Default value: ''

$parents

(string) (Optional) How to display the parents.

Default value: ''

$post_id

(int) (Optional) Post ID to retrieve categories.

Default value: false


Top ↑

Source Source

File: wp-includes/category-template.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
0.71 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.