Home > Article > Backend Development > How does typecho not display a specific category?
Currently, I output all categories in my blog through the following sentence
<code><?php $this->widget('Widget_Metas_Category_List') ->parse('<li><a href="{permalink}">{name} ({count})</a></li>'); ?> </code>
Now I want to hide a specific category in this column, how to achieve it?
Referring to this article, I tested the mid of that category and used ignore=mid to control the hiding of a specific category. However, it does not work after this modification. How to implement it?
Currently, I output all categories in my blog through the following sentence
<code><?php $this->widget('Widget_Metas_Category_List') ->parse('<li><a href="{permalink}">{name} ({count})</a></li>'); ?> </code>
Now I want to hide a specific category in this column, how to achieve it?
Referring to this article, I tested the mid of that category and used ignore=mid to control the hiding of a specific category. However, it does not work after this modification. How to implement it?