I deduce the categories of record of Wordpress — how to exclude some?

Good!
How to exclude some categories from list?
Deduce:
<?php the_category(', <i class="fa fa-tag" id="ico-blue"--> ',","); ?>


Like for example ID, to exclude some from the list displayed?

Thanks in advance!
July 9th 19 at 13:16
1 answer
July 9th 19 at 13:18
Solution
Use wp_list_categories()
You need to exclude or exclude_tree.

Find more questions by tags PHPWordPress