Great, thanks a lot!
Some small quirk fixing and it works very well.
term_id should be cat_ID. According to the plugins I use.
well done Kafkaesqui, that’s code works 100%, but i have a question..
how to show the category like this:
Category
–Subcategory
Category
–Subcategory
Category
–Subcategory
not like this
Category
Subcategory
Category
Subcategory
Category
Subcategory
your code is 100% working but it shows the main and the sub category mix, i want to separate the sub category with this ” — ”
Please help me i am really confused!!!