• Resolved sandeepachetan

    (@sandeepachetan)


    I am trying to delete the custom post types and the taxonomies that I created. But it says unable to delete.
    As I read in the earlies replies to similar posts, I am pasting the “blob” from the Tools section for the post type “Printables”
    {“Printables”:{“name”:”Printables”,”label”:”Printables”,”singular_label”:”Printable”,”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”:””,”rest_namespace”:””,”has_archive”:”true”,”has_archive_string”:””,”exclude_from_search”:”false”,”capability_type”:”post”,”hierarchical”:”false”,”can_export”:”true”,”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”:null,”register_meta_box_cb”:null,”supports”:[“title”,”thumbnail”,”custom-fields”],”taxonomies”:[“printables”],”labels”:{“menu_name”:”My Printables”,”all_items”:”All Printables”,”add_new”:”Add new”,”add_new_item”:”Add new Printable”,”edit_item”:”Edit Printable”,”new_item”:”New Printable”,”view_item”:”View Printable”,”view_items”:”View Printables”,”search_items”:”Search Printables”,”not_found”:”No Printables found”,”not_found_in_trash”:”No Printables found in trash”,”parent”:”Parent Printable:”,”featured_image”:”Featured image for this Printable”,”set_featured_image”:”Set featured image for this Printable”,”remove_featured_image”:”Remove featured image for this Printable”,”use_featured_image”:”Use as featured image for this Printable”,”archives”:”Printable archives”,”insert_into_item”:”Insert into Printable”,”uploaded_to_this_item”:”Upload to this Printable”,”filter_items_list”:”Filter Printables list”,”items_list_navigation”:”Printables list navigation”,”items_list”:”Printables list”,”attributes”:”Printables attributes”,”name_admin_bar”:”Printable”,”item_published”:”Printable published”,”item_published_privately”:”Printable published privately.”,”item_reverted_to_draft”:”Printable reverted to draft.”,”item_scheduled”:”Printable scheduled”,”item_updated”:”Printable updated.”,”parent_item_colon”:”Parent Printable:”},”custom_supports”:””,”enter_title_here”:””}}

    For Taxonomies

    {“Learning”:{“name”:”Learning”,”label”:”Learning”,”singular_label”:”Learning”,”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”:”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”:””},”meta_box_cb”:””,”object_types”:[“e-landing-page”]},”Characters”:{“name”:”Characters”,”label”:”Characters”,”singular_label”:”Character”,”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”:”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”:””},”meta_box_cb”:””,”object_types”:[“e-landing-page”]},”Coloring”:{“name”:”Coloring”,”label”:”Coloring”,”singular_label”:”Coloring”,”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”:”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”:””},”meta_box_cb”:””,”object_types”:[“e-landing-page”]},”Holidays”:{“name”:”Holidays”,”label”:”Holidays”,”singular_label”:”Holidays”,”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”:””,”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”:””},”meta_box_cb”:””,”object_types”:[“e-landing-page”]},”printables”:{“name”:”printables”,”label”:”Printable Types”,”singular_label”:”Printable Type”,”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”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”true”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:”Printables Type”,”all_items”:”Printables Types”,”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”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“printables”]},”printable-type”:{“name”:”printable-type”,”label”:”Printable Types”,”singular_label”:”Printable Type”,”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”:”true”,”show_in_rest”:”true”,”show_tagcloud”:”false”,”sort”:”true”,”show_in_quick_edit”:”true”,”rest_base”:””,”rest_controller_class”:””,”rest_namespace”:””,”labels”:{“menu_name”:”Printables Type”,”all_items”:”Printables Types”,”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”:””,”name_field_description”:””,”parent_field_description”:””,”slug_field_description”:””,”desc_field_description”:””},”meta_box_cb”:””,”default_term”:””,”object_types”:[“printables”]}}

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Admittedly curious how you got the capitalized version of the slugs, since the plugin should be forcing lowercase on those.

    Are you wanting to keep any of these? or are you willing to re-set up and configure them from scratch?

    If you’re willing to delete all of them outright, you can do an import of just {""} and that will wipe out the setting and give you a blank slate. That one may be best for the post types spot as there’s only one there.

    Taxonomies I’m seeing about 6, many of which are also capitalized but the others, particularly “printables” and “printable-type” may be wanting kept. The {""} import will work for taxonomies as well, otherwise I can take the blob above and reduce it down to an import that would retain any you specify wanting to keep.

    Also we can just fix the slug capitalization as well and re-import those and that should help make things deleteable as well.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Any news on this front @sandeepachetan ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t delete the custom post type or the custom taxonomies’ is closed to new replies.