Displaying all taxonomies without custom posts?

I have template for displaying my custom taxonomies. But they’re display only when there’s min. one custom post with one of them. How to do it to display those taxonomies even if there’s no posts with them? This is my code:

<div class=”c-countires__wrapper”>
<?php $categories = get_categories(‘taxonomy=instructors_countries&post_type=instructors’); ?>
<?php foreach ($categories as $category) : ?>
//content
<?php endforeach; ?>
</div>

Read more here:: Displaying all taxonomies without custom posts?

Leave a Reply

Your email address will not be published. Required fields are marked *