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
版权声明:本文标题:customization - Custom post-type working except for Selecting page-parent 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744696790a2620327.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论