- 赤色のリンクは、まだ日本語Codexに存在しないページ・画像です。英語版と併せてご覧ください。(詳細)
関数リファレンス/get the taxonomies
提供: WordPress Codex 日本語版
< 関数リファレンス
2014年7月6日 (日) 01:06時点におけるGblsm (トーク | 投稿記録)による版 (en:Function Reference/get the taxonomies 21:28, 16 January 2013 Taupecat 版)
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.
- 初期値: 0
- args
- (array) (optional) Overrides the defaults.
- 初期値: なし
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
関数リファレンス、テンプレートタグ目次もご覧ください。