WordPress.org

Ready to get started?Download WordPress

Codex

Function Reference/get the taxonomies

Contents

Description

This function can be used within the loop. It will also return an array of the taxonomies with links to the taxonomy and name.

Usage

 <?php get_the_taxonomies(); ?> 

Parameters

post
(int) (optional) The post ID to get taxonomies of.
Default: 0
args
(array) (optional) Overrides the defaults.
Default: None

Return Values

(Array) 

Array ( [taxnomy_slug] => Taxonomy Name: <a href='http://yourdomain.com/Term_Slug/'>Term Name</a>. )

Source File

the_taxonomies() is located in wp-includes/taxonomy.php.

Related

the_taxonomies, the_tags, the_category

See also index of Function Reference and index of Template Tags.