Publish metabox postition?

You could try removing the ‘submitdiv’ metabox and re-adding it with a low priority this way: function benny_default_position_publish_box() { remove_meta_box( ‘submitdiv’, ‘post’, ‘side’ ); remove_meta_box( ‘submitdiv’, ‘page’, ‘side’ ); //remove_meta_box( ‘submitdiv’, ‘cpt’, ‘side’ ); add_meta_box( ‘submitdiv’, __( ‘Publish’ ), ‘post_submit_meta_box’, ‘post’, ‘side’, ‘low’ ); add_meta_box( ‘submitdiv’, __( ‘Publish’ ), ‘post_submit_meta_box’, ‘page’, ‘side’, ‘low’ ); //add_meta_box( … Read more

I cannot display custom posts in custom taxonomy

try this code : function custom_taxonomy_m_product_category() { register_taxonomy(‘m_product_category’, [‘m_product’], [ ‘hierarchical’ => true, ‘labels’ => $labels, ‘show_ui’ => true, ‘show_admin_column’ => true, ‘exclude_from_search’ => **false**, ‘query_var’ => true, ‘public’ => true, ‘hierarchical’ => true, ‘rewrite’ => [‘slug’ => ‘cat-slug’, ‘with_front’ => true ], ]); }