(2011.02.25) functions.phpに追加しました。 /* ========================== カテゴリIDからカテゴリ名またはスラッグを取得する ==========================*/ function get_category_name_by_id($cat_ID,$type) { $cat_ID = (int) $cat_ID; $category = get_category($cat_ID); if($type == 'name'){ return $category->cat_name; } elseif($type == 'slug') { return $category->slug; } } 参考⇒http://www.rusica.net/heft/wp-memo-3 最新の投稿 WordPress権限を追加したり、