i solved the problem somehow
@bcworkz
I have a custom post type named, “Countries”
Taxonomy is called “Countries-categories”
I want to display only parent categories of taxonomy “countries-categories” in my archive-countries.php
So my archive page will look like this:
Europe
-country1
-country2
Asia
-country1
-country2
Africa
-country1
-country2
ETC..
Then after the that taxonomy-countries-categories.php will do its thing with the last code “cipriano200” posted, also that code displays image for category, with CATEGORIES IMAGES PLUGIN, so i want that to.
Sorry if i broke the rules, but this topic is close in what i need.
how to display category parents only of an taxonomy in archive-{taxonomy-slug}.php
?