After creating hierarchical post type, still not getting any way to set parent June 2, 2022 by Tarik Billa Try adding ‘page-attributes’ to the supports flags: 'supports' => array(..., 'page-attributes').