เปิดใช้งาน Gutenberg ตามประเภทโพสต์ที่กำหนดเอง
ฉันมีประเภทโพสต์ที่กำหนดเองนี้: function create_posttype() { register_post_type( 'companies', array( 'labels' => array( 'name' => __( 'شرکتهای عضو' ), 'singular_name' => __( 'شرکت' ) ), 'supports' => array('title', 'editor', 'custom-fields', 'excerpt', 'thumbnail'), 'public' => true, 'has_archive' => true, 'rewrite' => array('slug' => 'companies'), ) ); } add_action( 'init', 'create_posttype' ); ซึ่งแสดงตัวแก้ไขแบบคลาสสิคในพื้นที่ของผู้ดูแลระบบ WordPress ฉันพยายามแทนที่ …