@toro_unit 様
こんにちは。
プラグイン、いつもありがたく使わせていただいております。
さて、各種設定について、以下のようになっております。
カスタム投稿についてはCustom Post Type UIを使用して作成してあります。
ラベル以外の部分を送付しておきます。
なお、テーマのfunctions.phpにてカスタム投稿のURLを変更するような記述を入れておりますが、これを無効化しても変化なしでした。
—–
● カスタム投稿の設定
“public” => true,
“publicly_queryable” => true,
“show_ui” => true,
“show_in_rest” => false,
“rest_base” => “”,
“has_archive” => true,
“show_in_menu” => true,
“exclude_from_search” => false,
“capability_type” => “post”,
“map_meta_cap” => true,
“hierarchical” => false,
“rewrite” => array( “slug” => “test_post”, “with_front” => true ),
“query_var” => false,
“supports” => array( “title”, “editor”, “thumbnail” ),
“taxonomies” => array( “test_cat” ),
● タクソノミーの設定
“public” => true,
“hierarchical” => true,
“show_ui” => true,
“show_in_menu” => true,
“show_in_nav_menus” => true,
“query_var” => true,
“rewrite” => array( ‘slug’ => ‘test_cat’, ‘with_front’ => true, ‘hierarchical’ => true, ),
“show_admin_column” => true,
“show_in_rest” => false,
“rest_base” => “”,
“show_in_quick_edit” => true,
● パーマリンク設定
・共通設定
カスタム構造:/%category%/%post_id%/
・オプション
設定なし
・カスタム投稿タイプのパーマリンク設定
test_post /%test_cat%/%post_id%/
カスタマイズされたカスタムタクソノミーのパーマリンクを使用する。 true
カスタムタクソノミーのアーカイブに、 post_type クエリーを追加。 true
—–
以上となります。
よろしくお願いいたします。