From 404479d131bb6092840146ec25790aa6a82ef749 Mon Sep 17 00:00:00 2001 From: Tetrakern <26898880+Tetrakern@users.noreply.github.com> Date: Sat, 9 Nov 2024 12:32:24 +0100 Subject: [PATCH] Fix chapter post type Hierarchical doesn't work as expected. --- includes/functions/_setup-types-and-terms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/functions/_setup-types-and-terms.php b/includes/functions/_setup-types-and-terms.php index 167b5f56..62fedca8 100644 --- a/includes/functions/_setup-types-and-terms.php +++ b/includes/functions/_setup-types-and-terms.php @@ -215,7 +215,7 @@ function fictioneer_fcn_chapter_post_type() { 'menu_icon' => 'dashicons-text-page', 'supports' => ['title', 'author', 'editor', 'excerpt', 'thumbnail', 'comments', 'revisions', 'custom-fields'], 'taxonomies' => ['category', 'post_tag', 'fcn_fandom', 'fcn_character', 'fcn_genre', 'fcn_content_warning'], - 'hierarchical' => true, + 'hierarchical' => false, // Does not work without further adjustments 'public' => true, 'rewrite' => array( 'slug' => 'chapter' ), 'show_in_rest' => true,