WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I register my custom post type, I set this:

'hierarchical'   => true,
'supports'       => array( 'title','author', 'page-attributes' ),

So, I am supose to see 'order', 'templates', 'parents' in Attributes box when create new post. But, I don't see the 'templates' drop down showing up. Anything else I should do to enable the choice of 'templates' ?

share|improve this question
up vote 3 down vote accepted

You can't apply templates to custom post types in this manner. That will show up only if the post type is 'page' ( Check the wp-admin/includes/meta-boxes.php line 568 ). However if you want to style all your single custom post types in the same manner but different from other post types you could use the single-[posttype].php -> http://codex.wordpress.org/images/1/18/Template_Hierarchy.png

share|improve this answer
Thanks! that helps! – Jenny Dec 1 '11 at 5:02
Yeah, thanks. It's too bad they don't have this feature yet. – rpeg Feb 6 '12 at 0:18
Is the template dropdown still not supported in custom post types as of 4.1? – supertrue Feb 12 '15 at 17:41
did u / anyone found the solution to show the page attribute / template selection for CUSTOM POST TYPE?? – Riffaz Starr Mar 27 '15 at 18:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.