get_cat_name()函数的主要功能是通过id值来获得分类的名称。
语法
<? php get_cat_name( int $cat_id ); ?>
参数
实例
<? php echo get_cat_name(1); ?> 输出ID为1的分类的名称
13280692153