diff --git a/mu-plugins/carhop-post-types.php b/mu-plugins/carhop-post-types.php index d30dc40..2f6b101 100644 --- a/mu-plugins/carhop-post-types.php +++ b/mu-plugins/carhop-post-types.php @@ -126,8 +126,8 @@ function carhop_create_posttype() 'show_in_rest' => true, 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode(''), 'menu_position' => 4, - - 'supports' => array('title', 'revisions', 'thumbnail'), + 'hierarchical' => true, + 'supports' => array('title', 'revisions', 'thumbnail', 'page-attributes'), ) ); register_post_type( @@ -357,4 +357,4 @@ function carhop_disable_editor_for_analyses($use_block_editor, $post) return $use_block_editor; } -add_filter('use_block_editor_for_post', 'carhop_disable_editor_for_analyses', 10, 2); \ No newline at end of file +add_filter('use_block_editor_for_post', 'carhop_disable_editor_for_analyses', 10, 2);