'hierarchical' => true not bringing up the parent selector

hierarchical, wordpress

Solution

The parent select option will show only if you have at least 1 entry for this custom type.

Problem

I want to display the parent select so I can select the parent for layout purposes. This was un answered in the WordPress forum. It may be a missing or coming feature. Has anyone got this to work? ``` register_post_type('foo', array( 'hierarchical' => true, 'labels' => array( 'name' => 'Foo', 'singular_name' => 'Foo' ), 'public' => true, 'supports' => array( 'title', 'editor', 'author', 'page-attributes' ) )); ```

Original source