新着記事一覧 term_id; // 最初のカテゴリのID $lists=get_category_parents($cat_id,false,”/”,true); //祖先カテゴリを出力 $list=explode(‘/’,$lists); ?> “> $diff1) { echo ‘New!‘; } ?>