admin管理员组

文章数量:1390571

I created a custom post type in functions.php with these values (amongst others):

'hierarchical'        => true,
'supports'            => array( 'title', 'thumbnail', 'revisions', 'page-attributes'),
'capability_type'     => 'page',

I understood this should be the bits needed to get page attributes to offer parent page as a dropdown to make it a child of another page, however all that shows in page attributes is Order with a number box. Have I missed something to get this working? I assume also that if this was working my custom content-type page would be available to choose as the homepage in Settings/Reading ?

本文标签: customizationCustom posttype working except for Selecting pageparent