5

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'
    )
));
rjmunro
  • 27,203
  • 20
  • 110
  • 132
Dean Oakley
  • 5,366
  • 2
  • 18
  • 14

1 Answers1

4

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

soju
  • 25,111
  • 3
  • 68
  • 70