Support » Plugin: Custom Post Type UI » Edit taxonomy checkbox

  • Resolved progameinc

    (@progameinc)


    I created a custom taxonomy using CPT UI which lists the countries of the world.
    A surfer can register on the site (as an author) and add a front-end post where he can mark in the checkbox of the custom taxonomies in which countries he provides services.
    The problem is that after saving the post, if he made a mistake in registering one of the countries I can not edit the checkbox.
    If I mark another country, after saving the post, the checkbox is simply deleted by itself. Every time I save, the checkbox disappears.
    The custom taxonomies I have created are Hierarchical
    Where am I wrong?

Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Is this all using a custom front-end based form to submit everything? Or are these users still in the WordPress admin dashboard using the already existing editor screen?

    If something custom, then there’s not much I can do as CPTUI doesn’t have anything set up for that or that type of functionality provided. It would be coming from somewhere else.

    If backend and standard editor screen, then I’m not sure what may be going on as that feels like it’s possibly issues with the editor process in general, or potentially just capabilities issues?

    Thread Starter progameinc

    (@progameinc)

    Wow, that was fast !! I did not expect such a thing 🙂

    No, some posts are uploaded from the WordPress dashboard. But even in these posts, I cannot edit the checkbox.
    Do you have any idea what could be causing this?

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you visit the Tools menu item in our CPTUI section, and click the “Get Code” tab at the top? Then copy/paste that information in the large textarea to me? I’d like to see if any of the settings stand out for your content types registered.

    Thread Starter progameinc

    (@progameinc)

    There are many:
    ===================================================================================

    function cptui_register_my_cpts() {
    
    	/**
    	 * Post Type: Casinos.
    	 */
    
    	$labels = [
    		"name" => __( "Casinos", "custom-post-type-ui" ),
    		"singular_name" => __( "Casino", "custom-post-type-ui" ),
    		"menu_name" => __( "Casinos", "custom-post-type-ui" ),
    		"all_items" => __( "All the Casinos", "custom-post-type-ui" ),
    		"add_new" => __( "Add Casino", "custom-post-type-ui" ),
    		"add_new_item" => __( "Add New Casino", "custom-post-type-ui" ),
    		"edit_item" => __( "Edit Casino", "custom-post-type-ui" ),
    		"new_item" => __( "New Casino", "custom-post-type-ui" ),
    		"view_item" => __( "View Casino", "custom-post-type-ui" ),
    		"view_items" => __( "View Casinos", "custom-post-type-ui" ),
    		"search_items" => __( "Search Casino", "custom-post-type-ui" ),
    		"not_found" => __( "No Casino found", "custom-post-type-ui" ),
    		"not_found_in_trash" => __( "No Casinos found in trash", "custom-post-type-ui" ),
    		"parent" => __( "Parent Casino:", "custom-post-type-ui" ),
    		"featured_image" => __( "Featured image for this Casino", "custom-post-type-ui" ),
    		"set_featured_image" => __( "Set featured image for this Casino", "custom-post-type-ui" ),
    		"remove_featured_image" => __( "Remove featured image for this Casino", "custom-post-type-ui" ),
    		"use_featured_image" => __( "Use as featured image for this Casino", "custom-post-type-ui" ),
    		"archives" => __( "Casino archives", "custom-post-type-ui" ),
    		"insert_into_item" => __( "Insert into Casino", "custom-post-type-ui" ),
    		"uploaded_to_this_item" => __( "Upload to this Casino", "custom-post-type-ui" ),
    		"filter_items_list" => __( "Filter Casinos list", "custom-post-type-ui" ),
    		"items_list_navigation" => __( "Casinos list navigation", "custom-post-type-ui" ),
    		"items_list" => __( "Casinos list", "custom-post-type-ui" ),
    		"attributes" => __( "Casinos attributes", "custom-post-type-ui" ),
    		"name_admin_bar" => __( "Casino", "custom-post-type-ui" ),
    		"item_published" => __( "Casino published", "custom-post-type-ui" ),
    		"item_published_privately" => __( "Casino published privately.", "custom-post-type-ui" ),
    		"item_reverted_to_draft" => __( "Casino reverted to draft.", "custom-post-type-ui" ),
    		"item_scheduled" => __( "Casino scheduled", "custom-post-type-ui" ),
    		"item_updated" => __( "Casino updated.", "custom-post-type-ui" ),
    		"parent_item_colon" => __( "Parent Casino:", "custom-post-type-ui" ),
    	];
    
    	$args = [
    		"label" => __( "Casinos", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"description" => "",
    		"public" => true,
    		"publicly_queryable" => true,
    		"show_ui" => true,
    		"show_in_rest" => true,
    		"rest_base" => "",
    		"rest_controller_class" => "WP_REST_Posts_Controller",
    		"has_archive" => "casino",
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"delete_with_user" => false,
    		"exclude_from_search" => false,
    		"capability_type" => "post",
    		"map_meta_cap" => true,
    		"hierarchical" => false,
    		"rewrite" => [ "slug" => "casinos", "with_front" => true ],
    		"query_var" => true,
    		"menu_icon" => "https://casinotops.online/wp-content/uploads/2021/05/Dashicon-spade.png",
    		"supports" => [ "title", "editor", "thumbnail", "excerpt", "custom-fields", "comments", "revisions", "page-attributes", "post-formats" ],
    		"taxonomies" => [ "gambling_options", "deposit_methods", "games_providers", "withdrawal_methods", "permitted_countries", "accepted_currencies", "supported_languages", "gambling_license", "compatible_devices" ],
    		"show_in_graphql" => false,
    	];
    
    	register_post_type( "casinos", $args );
    }
    
    add_action( 'init', 'cptui_register_my_cpts' );

    ===================================================================================

    function cptui_register_my_cpts_casinos() {
    
    	/**
    	 * Post Type: Casinos.
    	 */
    
    	$labels = [
    		"name" => __( "Casinos", "custom-post-type-ui" ),
    		"singular_name" => __( "Casino", "custom-post-type-ui" ),
    		"menu_name" => __( "Casinos", "custom-post-type-ui" ),
    		"all_items" => __( "All the Casinos", "custom-post-type-ui" ),
    		"add_new" => __( "Add Casino", "custom-post-type-ui" ),
    		"add_new_item" => __( "Add New Casino", "custom-post-type-ui" ),
    		"edit_item" => __( "Edit Casino", "custom-post-type-ui" ),
    		"new_item" => __( "New Casino", "custom-post-type-ui" ),
    		"view_item" => __( "View Casino", "custom-post-type-ui" ),
    		"view_items" => __( "View Casinos", "custom-post-type-ui" ),
    		"search_items" => __( "Search Casino", "custom-post-type-ui" ),
    		"not_found" => __( "No Casino found", "custom-post-type-ui" ),
    		"not_found_in_trash" => __( "No Casinos found in trash", "custom-post-type-ui" ),
    		"parent" => __( "Parent Casino:", "custom-post-type-ui" ),
    		"featured_image" => __( "Featured image for this Casino", "custom-post-type-ui" ),
    		"set_featured_image" => __( "Set featured image for this Casino", "custom-post-type-ui" ),
    		"remove_featured_image" => __( "Remove featured image for this Casino", "custom-post-type-ui" ),
    		"use_featured_image" => __( "Use as featured image for this Casino", "custom-post-type-ui" ),
    		"archives" => __( "Casino archives", "custom-post-type-ui" ),
    		"insert_into_item" => __( "Insert into Casino", "custom-post-type-ui" ),
    		"uploaded_to_this_item" => __( "Upload to this Casino", "custom-post-type-ui" ),
    		"filter_items_list" => __( "Filter Casinos list", "custom-post-type-ui" ),
    		"items_list_navigation" => __( "Casinos list navigation", "custom-post-type-ui" ),
    		"items_list" => __( "Casinos list", "custom-post-type-ui" ),
    		"attributes" => __( "Casinos attributes", "custom-post-type-ui" ),
    		"name_admin_bar" => __( "Casino", "custom-post-type-ui" ),
    		"item_published" => __( "Casino published", "custom-post-type-ui" ),
    		"item_published_privately" => __( "Casino published privately.", "custom-post-type-ui" ),
    		"item_reverted_to_draft" => __( "Casino reverted to draft.", "custom-post-type-ui" ),
    		"item_scheduled" => __( "Casino scheduled", "custom-post-type-ui" ),
    		"item_updated" => __( "Casino updated.", "custom-post-type-ui" ),
    		"parent_item_colon" => __( "Parent Casino:", "custom-post-type-ui" ),
    	];
    
    	$args = [
    		"label" => __( "Casinos", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"description" => "",
    		"public" => true,
    		"publicly_queryable" => true,
    		"show_ui" => true,
    		"show_in_rest" => true,
    		"rest_base" => "",
    		"rest_controller_class" => "WP_REST_Posts_Controller",
    		"has_archive" => "casino",
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"delete_with_user" => false,
    		"exclude_from_search" => false,
    		"capability_type" => "post",
    		"map_meta_cap" => true,
    		"hierarchical" => false,
    		"rewrite" => [ "slug" => "casinos", "with_front" => true ],
    		"query_var" => true,
    		"menu_icon" => "https://casinotops.online/wp-content/uploads/2021/05/Dashicon-spade.png",
    		"supports" => [ "title", "editor", "thumbnail", "excerpt", "custom-fields", "comments", "revisions", "page-attributes", "post-formats" ],
    		"taxonomies" => [ "gambling_options", "deposit_methods", "games_providers", "withdrawal_methods", "permitted_countries", "accepted_currencies", "supported_languages", "gambling_license", "compatible_devices" ],
    		"show_in_graphql" => false,
    	];
    
    	register_post_type( "casinos", $args );
    }
    
    add_action( 'init', 'cptui_register_my_cpts_casinos' );

    ===============================================================================

    function cptui_register_my_taxes() {
    
    	/**
    	 * Taxonomy: Gambling Options.
    	 */
    
    	$labels = [
    		"name" => __( "Gambling Options", "custom-post-type-ui" ),
    		"singular_name" => __( "Gambling Option", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Gambling Options", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'gambling_options', 'with_front' => true,  'hierarchical' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "gambling_options",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "gambling_options", [ "casinos" ], $args );
    
    	/**
    	 * Taxonomy: Deposit Methods.
    	 */
    
    	$labels = [
    		"name" => __( "Deposit Methods", "custom-post-type-ui" ),
    		"singular_name" => __( "Deposit Method", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Deposit Methods", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'deposit_methods', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "deposit_methods",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "deposit_methods", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Games Providers.
    	 */
    
    	$labels = [
    		"name" => __( "Games Providers", "custom-post-type-ui" ),
    		"singular_name" => __( "Games Provider", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Games Providers", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'games_providers', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "games_providers",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "games_providers", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Withdrawal Methods.
    	 */
    
    	$labels = [
    		"name" => __( "Withdrawal Methods", "custom-post-type-ui" ),
    		"singular_name" => __( "Withdrawal Method", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Withdrawal Methods", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'withdrawal_methods', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "withdrawal_methods",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "withdrawal_methods", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Permitted Countries.
    	 */
    
    	$labels = [
    		"name" => __( "Permitted Countries", "custom-post-type-ui" ),
    		"singular_name" => __( "Permitted Country", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Permitted Countries", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'permitted_countries', 'with_front' => true, ],
    		"show_admin_column" => true,
    		"show_in_rest" => true,
    		"rest_base" => "permitted_countries",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => true,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "permitted_countries", [ "casinos" ], $args );
    
    	/**
    	 * Taxonomy: Accepted Currencies.
    	 */
    
    	$labels = [
    		"name" => __( "Accepted Currencies", "custom-post-type-ui" ),
    		"singular_name" => __( "Accepted Currency", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Accepted Currencies", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'accepted_currencies', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "accepted_currencies",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "accepted_currencies", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Supported Languages.
    	 */
    
    	$labels = [
    		"name" => __( "Supported Languages", "custom-post-type-ui" ),
    		"singular_name" => __( "Supported Language", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Supported Languages", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'supported_languages', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "supported_languages",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "supported_languages", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Gambling Licenses.
    	 */
    
    	$labels = [
    		"name" => __( "Gambling Licenses", "custom-post-type-ui" ),
    		"singular_name" => __( "Gambling License", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Gambling Licenses", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'gambling_license', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "gambling_license",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "gambling_license", [ "casino-review" ], $args );
    
    	/**
    	 * Taxonomy: Compatible Devices.
    	 */
    
    	$labels = [
    		"name" => __( "Compatible Devices", "custom-post-type-ui" ),
    		"singular_name" => __( "Compatible Device", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Compatible Devices", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'compatible_devices', 'with_front' => true,  'hierarchical' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "compatible_devices",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "compatible_devices", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes' );

    ===================================================================================

    function cptui_register_my_taxes_gambling_options() {
    
    	/**
    	 * Taxonomy: Gambling Options.
    	 */
    
    	$labels = [
    		"name" => __( "Gambling Options", "custom-post-type-ui" ),
    		"singular_name" => __( "Gambling Option", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Gambling Options", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'gambling_options', 'with_front' => true,  'hierarchical' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "gambling_options",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "gambling_options", [ "casinos" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_gambling_options' );

    ====================================================================================

    function cptui_register_my_taxes_deposit_methods() {
    
    	/**
    	 * Taxonomy: Deposit Methods.
    	 */
    
    	$labels = [
    		"name" => __( "Deposit Methods", "custom-post-type-ui" ),
    		"singular_name" => __( "Deposit Method", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Deposit Methods", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'deposit_methods', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "deposit_methods",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "deposit_methods", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_deposit_methods' );

    ======================================================================================

    function cptui_register_my_taxes_games_providers() {
    
    	/**
    	 * Taxonomy: Games Providers.
    	 */
    
    	$labels = [
    		"name" => __( "Games Providers", "custom-post-type-ui" ),
    		"singular_name" => __( "Games Provider", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Games Providers", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'games_providers', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "games_providers",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "games_providers", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_games_providers' );

    ======================================================================================

    function cptui_register_my_taxes_withdrawal_methods() {
    
    	/**
    	 * Taxonomy: Withdrawal Methods.
    	 */
    
    	$labels = [
    		"name" => __( "Withdrawal Methods", "custom-post-type-ui" ),
    		"singular_name" => __( "Withdrawal Method", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Withdrawal Methods", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'withdrawal_methods', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "withdrawal_methods",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "withdrawal_methods", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_withdrawal_methods' );

    ==================================================================================

    function cptui_register_my_taxes_permitted_countries() {
    
    	/**
    	 * Taxonomy: Permitted Countries.
    	 */
    
    	$labels = [
    		"name" => __( "Permitted Countries", "custom-post-type-ui" ),
    		"singular_name" => __( "Permitted Country", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Permitted Countries", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'permitted_countries', 'with_front' => true, ],
    		"show_admin_column" => true,
    		"show_in_rest" => true,
    		"rest_base" => "permitted_countries",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => true,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "permitted_countries", [ "casinos" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_permitted_countries' );

    ====================================================================================

    function cptui_register_my_taxes_accepted_currencies() {
    
    	/**
    	 * Taxonomy: Accepted Currencies.
    	 */
    
    	$labels = [
    		"name" => __( "Accepted Currencies", "custom-post-type-ui" ),
    		"singular_name" => __( "Accepted Currency", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Accepted Currencies", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'accepted_currencies', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "accepted_currencies",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "accepted_currencies", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_accepted_currencies' );

    =====================================================================================

    function cptui_register_my_taxes_supported_languages() {
    
    	/**
    	 * Taxonomy: Supported Languages.
    	 */
    
    	$labels = [
    		"name" => __( "Supported Languages", "custom-post-type-ui" ),
    		"singular_name" => __( "Supported Language", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Supported Languages", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'supported_languages', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "supported_languages",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "supported_languages", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_supported_languages' );

    ====================================================================================

    function cptui_register_my_taxes_gambling_license() {
    
    	/**
    	 * Taxonomy: Gambling Licenses.
    	 */
    
    	$labels = [
    		"name" => __( "Gambling Licenses", "custom-post-type-ui" ),
    		"singular_name" => __( "Gambling License", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Gambling Licenses", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'gambling_license', 'with_front' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "gambling_license",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "gambling_license", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_gambling_license' );

    =====================================================================================

    function cptui_register_my_taxes_compatible_devices() {
    
    	/**
    	 * Taxonomy: Compatible Devices.
    	 */
    
    	$labels = [
    		"name" => __( "Compatible Devices", "custom-post-type-ui" ),
    		"singular_name" => __( "Compatible Device", "custom-post-type-ui" ),
    	];
    
    	
    	$args = [
    		"label" => __( "Compatible Devices", "custom-post-type-ui" ),
    		"labels" => $labels,
    		"public" => true,
    		"publicly_queryable" => true,
    		"hierarchical" => true,
    		"show_ui" => true,
    		"show_in_menu" => true,
    		"show_in_nav_menus" => true,
    		"query_var" => true,
    		"rewrite" => [ 'slug' => 'compatible_devices', 'with_front' => true,  'hierarchical' => true, ],
    		"show_admin_column" => false,
    		"show_in_rest" => true,
    		"rest_base" => "compatible_devices",
    		"rest_controller_class" => "WP_REST_Terms_Controller",
    		"show_in_quick_edit" => false,
    		"show_in_graphql" => false,
    	];
    	register_taxonomy( "compatible_devices", [ "casino-review" ], $args );
    }
    add_action( 'init', 'cptui_register_my_taxes_compatible_devices' );
    Thread Starter progameinc

    (@progameinc)

    There are many taxonomies. the site forum divided them into many threads. I hope it’s OK 🙂

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ack, meant the Debug Info tab, I’m mixing up our areas. That ONE textarea will have like active plugins and whatnot, as well as a blob of JSON data that I could import all your CPTUI settings in with.

    Thread Starter progameinc

    (@progameinc)

    ### Begin Custom Post Type UI Debug Info ###

    Multisite: No

    SITE_URL: https://casinotops.online
    HOME_URL: https://casinotops.online

    WordPress Version: 5.8.1
    Permalink Structure: /%postname%/
    Active Theme: Hello Elementor Child 1.0.1.1624875385

    Registered Post Types: post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, acf_frontend_form, e-landing-page, elementor_library, elementor_snippet, easy_affiliate_link, acf-field-group, acf-field, site-review, casinos, rvm, wppb-roles-editor, rank_math_schema, elementor_font, elementor_icons, notifications, stc

    PHP Version: 7.4.23
    MySQL Version: 5.5.5
    Web Server Info: LiteSpeed

    Show On Front: page
    Page On Front: Casino Tops Online (#16965)
    Page For Posts: (#0)

    WordPress Memory Limit: 40MB

    TOTAL PLUGINS: 41

    ACTIVE PLUGINS: (39)

    A2 Optimized WP: 2.1.3.6
    ACF Frontend: 3.1.6
    Advanced Custom Fields: 5.10.2
    Advanced Post Queries: 1.0.15
    Akismet Anti-Spam: 4.1.12
    All-in-One WP Migration: 7.48
    All-in-One WP Migration Unlimited Extension: 2.42
    Better Search Replace: 1.3.4
    Broken Link Checker: 1.11.16
    Catch IDs: 2.4
    Custom Post Type UI: 1.9.2
    Duplicate Page: 4.4.4
    Easy Affiliate Links: 3.5.0
    Easy Affiliate Links Premium: 3.5.0
    Ele Custom Skin: 3.1.3
    Elementor: 3.4.4
    Elementor Pro: 3.4.1
    Email Log: 2.4.5
    FAQ Schema for Elementor: 1.0.2
    Favorites: 2.3.2
    Geolocation IP Detection: 4.2.3
    Heartbeat Control by WP Rocket: 2.0
    Insert Pages: 3.6.1
    Loginizer: 1.6.7
    LuckyWP Cookie Notice (GDPR): 1.2
    LuckyWP Table of Contents: 2.1.4
    Max Mega Menu: 2.9.4
    Polylang: 3.1.1
    Polylang Connect for Elementor: 1.0.6
    Profile Builder: 3.5.5
    Rank Math SEO: 1.0.73
    Rank Math SEO PRO: 2.17.0
    RVM – Responsive Vector Maps: 6.4.1
    SEO Backlink Monitor: 1.4.0
    Shortcode For Current Date: 2.1.5
    Site Reviews: 5.15.0
    Smush: 3.9.0
    Subscribe to Category: 2.6.5
    SVG Flags: 0.9.5

    INACTIVE PLUGINS: (2)

    A2 Fixed W3 Total Cache: 0.9.4.6.4.8.1
    a3 Lazy Load: 2.4.7

    Post Types:
    {“casinos”:{“name”:”casinos”,”label”:”Casinos”,”singular_label”:”Casino”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”show_ui”:”true”,”show_in_nav_menus”:”true”,”delete_with_user”:”false”,”show_in_rest”:”true”,”rest_base”:””,”rest_controller_class”:””,”has_archive”:”true”,”has_archive_string”:”casino”,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”true”,”query_var”:”true”,”query_var_slug”:””,”menu_position”:””,”show_in_menu”:”true”,”show_in_menu_string”:””,”menu_icon”:”https:\/\/casinotops.online\/wp-content\/uploads\/2021\/05\/Dashicon-spade.png”,”supports”:[“title”,”editor”,”thumbnail”,”excerpt”,”custom-fields”,”comments”,”revisions”,”page-attributes”,”post-formats”],”taxonomies”:[“gambling_options”,”deposit_methods”,”games_providers”,”withdrawal_methods”,”permitted_countries”,”accepted_currencies”,”supported_languages”,”gambling_license”,”compatible_devices”],”labels”:{“menu_name”:”Casinos”,”all_items”:”All the Casinos”,”add_new”:”Add Casino”,”add_new_item”:”Add New Casino”,”edit_item”:”Edit Casino”,”new_item”:”New Casino”,”view_item”:”View Casino”,”view_items”:”View Casinos”,”search_items”:”Search Casino”,”not_found”:”No Casino found”,”not_found_in_trash”:”No Casinos found in trash”,”parent”:”Parent Casino:”,”featured_image”:”Featured image for this Casino”,”set_featured_image”:”Set featured image for this Casino”,”remove_featured_image”:”Remove featured image for this Casino”,”use_featured_image”:”Use as featured image for this Casino”,”archives”:”Casino archives”,”insert_into_item”:”Insert into Casino”,”uploaded_to_this_item”:”Upload to this Casino”,”filter_items_list”:”Filter Casinos list”,”items_list_navigation”:”Casinos list navigation”,”items_list”:”Casinos list”,”attributes”:”Casinos attributes”,”name_admin_bar”:”Casino”,”item_published”:”Casino published”,”item_published_privately”:”Casino published privately.”,”item_reverted_to_draft”:”Casino reverted to draft.”,”item_scheduled”:”Casino scheduled”,”item_updated”:”Casino updated.”,”parent_item_colon”:”Parent Casino:”},”custom_supports”:””}}

    Taxonomies:
    {“gambling_options”:{“name”:”gambling_options”,”label”:”Gambling Options”,”singular_label”:”Gambling Option”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”1″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casinos”]},”deposit_methods”:{“name”:”deposit_methods”,”label”:”Deposit Methods”,”singular_label”:”Deposit Method”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”games_providers”:{“name”:”games_providers”,”label”:”Games Providers”,”singular_label”:”Games Provider”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”withdrawal_methods”:{“name”:”withdrawal_methods”,”label”:”Withdrawal Methods”,”singular_label”:”Withdrawal Method”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”permitted_countries”:{“name”:”permitted_countries”,”label”:”Permitted Countries”,”singular_label”:”Permitted Country”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casinos”]},”accepted_currencies”:{“name”:”accepted_currencies”,”label”:”Accepted Currencies”,”singular_label”:”Accepted Currency”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”supported_languages”:{“name”:”supported_languages”,”label”:”Supported Languages”,”singular_label”:”Supported Language”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”gambling_license”:{“name”:”gambling_license”,”label”:”Gambling Licenses”,”singular_label”:”Gambling License”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”compatible_devices”:{“name”:”compatible_devices”,”label”:”Compatible Devices”,”singular_label”:”Compatible Device”,”description”:” Download Casino\r\n PC Instant Play\r\n Mac\r\nWindows Phone\r\n iPhone\r\n iPad\r\n Android”,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”1″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]}}

    ### End Debug Info ###

    Thread Starter progameinc

    (@progameinc)

    {“gambling_options”:{“name”:”gambling_options”,”label”:”Gambling Options”,”singular_label”:”Gambling Option”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”1″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casinos”]},”deposit_methods”:{“name”:”deposit_methods”,”label”:”Deposit Methods”,”singular_label”:”Deposit Method”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”games_providers”:{“name”:”games_providers”,”label”:”Games Providers”,”singular_label”:”Games Provider”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”withdrawal_methods”:{“name”:”withdrawal_methods”,”label”:”Withdrawal Methods”,”singular_label”:”Withdrawal Method”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”permitted_countries”:{“name”:”permitted_countries”,”label”:”Permitted Countries”,”singular_label”:”Permitted Country”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”true”,”show_in_rest”:”true”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casinos”]},”accepted_currencies”:{“name”:”accepted_currencies”,”label”:”Accepted Currencies”,”singular_label”:”Accepted Currency”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”supported_languages”:{“name”:”supported_languages”,”label”:”Supported Languages”,”singular_label”:”Supported Language”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”gambling_license”:{“name”:”gambling_license”,”label”:”Gambling Licenses”,”singular_label”:”Gambling License”,”description”:””,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]},”compatible_devices”:{“name”:”compatible_devices”,”label”:”Compatible Devices”,”singular_label”:”Compatible Device”,”description”:” Download Casino\r\n PC Instant Play\r\n Mac\r\nWindows Phone\r\n iPhone\r\n iPad\r\n Android”,”public”:”true”,”publicly_queryable”:”true”,”hierarchical”:”true”,”show_ui”:”true”,”show_in_menu”:”true”,”show_in_nav_menus”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”1″,”show_admin_column”:”false”,”show_in_rest”:”true”,”show_in_quick_edit”:””,”rest_base”:””,”rest_controller_class”:””,”labels”:{“menu_name”:””,”all_items”:””,”edit_item”:””,”view_item”:””,”update_item”:””,”add_new_item”:””,”new_item_name”:””,”parent_item”:””,”parent_item_colon”:””,”search_items”:””,”popular_items”:””,”separate_items_with_commas”:””,”add_or_remove_items”:””,”choose_from_most_used”:””,”not_found”:””,”no_terms”:””,”items_list_navigation”:””,”items_list”:””,”back_to_items”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“casino-review”]}}

    Thread Starter progameinc

    (@progameinc)

    I hope one of those is the good one!

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Yes that worked well enough.

    So, you have a user that has a role of “author” creating posts.

    Your user, as an administrator, isn’t able to edit either the associated country terms with the post or the terms themselves?

    If you, as the administrator, try to add a new country term to the post, it goes away after clicking save?

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    And this is all with the permitted_countries taxonomy?

    Thread Starter progameinc

    (@progameinc)

    True, it happens in all taxonomies. Not only in permitted countries.

    Thread Starter progameinc

    (@progameinc)

    Even in the post I created myself, I can not edit it after I save it.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Just a shot in the dark, but would you happen to have a dev/staging copy of the site that you could do some testing on. I’m not managing to recreate myself, so I’m wondering if there’s other plugins somehow interfering with everything going on. I’d be curious to see if it all behaved as expected if you deactivated all plugins except CPTUI and it started working as expected at that time. Then it’d just be a matter of re-activating plugins until the issue comes back and then we’d know a likely contributing plugin.

    Thread Starter progameinc

    (@progameinc)

    I don’t have a staging site, however, I can backup everything and try.

    It is hard to believe that a plugin causes this. Would you prefer to have a user and check from inside?

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Edit taxonomy checkbox’ is closed to new replies.