Return Custom Post Type Categories

When you add a custom taxonomy to a WordPress theme, you can display its content using one of WordPress’ taxonomy theme templates

  • taxonomy-{taxonomy}-{slug}.php We could use this to create a theme
    template for a particular location, such as
    taxonomy-taxonomyname-termslug.php for the term “boston.”
  • taxonomy-{taxonomy}.php If the taxonomy were location, WordPress
    would look for taxonomy-location.php.
  • taxonomy.php This template is used for all custom taxonomies.
  • archive.php If no taxonomy-specific template is found, then the
    taxonomy that lists pages will use the archive template.
  • index.php If no other template is found, then this will be used.

Just make sure you set the post type to your custom post type name on what ever template file you use.