目前我在博客中是通过下面这一句输出所有的分类
<?php $this->widget('Widget_Metas_Category_List')
->parse('<li><a href="{permalink}">{name} ({count})</a></li>'); ?>
现在我想要在这一栏中隐藏某个特定的分类,该如何去实现?
参考这一篇文章,我测试得到了那一个分类的mid,利用 ignore=mid 去控制隐藏特定的分类,但是这样修改之后不起作用,要如何实现?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
http://ysido.com/CateFiler.html
这个插件应该可以帮到你