Register_post_type page-attributes — нет выбора родителя
Создал тип записи
function custom_project()
{
register_post_type('custom_project', array(
'labels' => array(
'name' => 'project',
'singular_name' => 'project',
'add_new' => 'Добавить новый',
'add_new_item' => 'Добавить project',
'edit_item' => 'Редактировать project',
'new_item' => 'Новый project',
'view_item' => 'Посмотреть project',
'search_items' => 'Найти project',
'not_found' => 'project не найдено',
'not_found_in_trash' => 'В корзине project не найдено',
'parent_item_colon' => '',
'menu_name' => 'test-project'
),
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'show_in_menu' => true,
'query_var' => true,
'rewrite' => [
'slug' => 'noindex-projects',
'with_front' => true
],
'capability_type' => 'page',
'has_archive' => false,
'hierarchical' => true,
'menu_position' => null,
'supports' => array(
'title',
'page-attributes'
)
));
};
В атрибутах страницы нет выбора родителя.

разобрался
проблема - все посты в черновиках
решение - опубликовать