Document Home | All Tag List
>>Material Top >> Wordpress Document >> Category Tags >> get_the_category()
表示中のページに関連するカテゴリーオブジェクトの配列を返します 返されるオブジェクトのメンバー変数は以下の通り cat_ID : カテゴリーID cat_name : カテゴリー名 category_nickname : カテゴリー名から作られた俗称 category_description : カテゴリー説明 category_parent : カテゴリーが属している親カテゴリーID。親がない場合は '0'
<?php get_the_category(); ?>
-