typecho中的文章页面获得当前页面分类的缩略名

如何在typecho中的文章页面获得当前页面分类的缩略名??还有当前分类的名称

$categories = $this->categories;
foreach($categories as $cate) {
    echo $cate['slug'];
    echo $cate['name'];
}
文章由官网发布,如若转载,请注明出处:https://www.veimoz.com/222
0 评论
3k

发表评论

!