Custom template support for custom post type?

Please refer to the Template Hierarchy.

Custom Post Types use two different template files, depending on context.

For custom post type single post display:

  • single-{posttype}.php
  • single.php
  • index.php

For custom post type archive display:

  • archive-{posttype}.php
  • archive.php
  • index.php

In both cases, {posttype} is the custom post type $slug, as-defined in the register_post_type( $slug, $args ) call.