can’t delete taxonomy
-
Hi, I can’t seem to create 2 custom taxonomies that I’ve created :-S
I’ve tried deactivating all plugins and switching theme, but every time I try to delete a custom taxonomy it says ‘Featured has failed to be deleted’
Is this something you can help with?
-
The plugin also seems to be effecting my site. I can’t save my post carousel in wp bakery page when the custom post type UI plugin is activated, and some of my page builder blocks are hidden when the plugin is activated too… hope you can help
is the post type slug for the featured post type you’re wanting to delete literally “Featured” with the capitalization and everything?
Best answer i have for that last part is some sort of js issue going on but it’s impossible for me to say what issue that may be. May be something from their end more than ours, as we aim to load our own js only when needed, which is not when editing a post.
Hi, it’s just called ‘featured’ also have one called ‘Offer Categories’ which won’t delete either
Go to tools menu and paste over the huge blob of content on the right hand side and we can get things fixed up quick. We’ll get you something you can re-import.
The capitalization and spaces shouldn’t have been allowed, unless you’ve been using the plugin for many years, or the js was broken when you created these recently.
{“product_carousel”:{“name”:”product_carousel”,”label”:”Product Carousel”,”singular_label”:”Product Carousel”,”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”:”false”,”has_archive_string”:””,”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”:””,”supports”:[“title”,”thumbnail”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””},”printer_offers”:{“name”:”printer_offers”,”label”:”Offers”,”singular_label”:”Offer”,”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”:”false”,”has_archive_string”:””,”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”:””,”supports”:[“title”,”thumbnail”,”custom-fields”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””},”tips_troubleshooting”:{“name”:”tips_troubleshooting”,”label”:”Tips & Troubleshooting”,”singular_label”:”Tips & Troubleshooting”,”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”:”false”,”has_archive_string”:””,”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”:””,”supports”:[“title”,”editor”,”thumbnail”],”taxonomies”:[],”labels”:{“menu_name”:””,”all_items”:””,”add_new”:””,”add_new_item”:””,”edit_item”:””,”new_item”:””,”view_item”:””,”view_items”:””,”search_items”:””,”not_found”:””,”not_found_in_trash”:””,”parent_item_colon”:””,”featured_image”:””,”set_featured_image”:””,”remove_featured_image”:””,”use_featured_image”:””,”archives”:””,”insert_into_item”:””,”uploaded_to_this_item”:””,”filter_items_list”:””,”items_list_navigation”:””,”items_list”:””,”attributes”:””,”name_admin_bar”:””,”item_published”:””,”item_published_privately”:””,”item_reverted_to_draft”:””,”item_scheduled”:””,”item_updated”:””},”custom_supports”:””}}
Woops, I got things mixed up between post type and taxonomy on you. Sorry about that. The output above looks to be for the post types, which are fine at the moment. So I need the similar blob from the “Taxonomies” tab at the top of the tools section.
Ahh sorry, here you go
{“Featured”:{“name”:”Featured”,”label”:”featured”,”singular_label”:”featured”,”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”:””},”meta_box_cb”:””,”object_types”:[“printer_offers”]},”Categories”:{“name”:”Categories”,”label”:”featured”,”singular_label”:”featured”,”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”:””},”meta_box_cb”:””,”object_types”:[“printer_offers”]},”Offer Categories”:{“name”:”Offer Categories”,”label”:”Offer Categories”,”singular_label”:”Offer Category”,”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”:””},”meta_box_cb”:””,”object_types”:[“printer_offers”]}}
Couple thoughts while i have them, I know you’re trying to outright delete some, of these but I wonder if you’d get yourself in a better position if you tried a renaming, and then could delete afterwards. I’m hesitating slightly with my fixed blob of text because i don’t know how many terms in these taxonomies you may have, and my prepared insert is essentially renaming the taxonomies without a way to preserve the terms. I haven’t deleted any of them in this, because of that detail.
Fresh blob that you should be able to import via the left hand side of the taxonomy tab.
Hi, I don’t have many terms in these taxonomies so it’s not problem if they all get deleted and I have to edit my posts again. I did try renaming one first but it duplicated it
forgot about that duplicate part.
Did the import work for you?
Hi, I imported your code. Now when I try and delete a taxonomy it says it’s been deleted but it hasn’t…
Hi, I’ve rolled my sites database back to 2 days ago before this issue happened, and started from scratch. I made sure to enter the slug in the correct format and it seems to be ok.
Thanks for all your helpWelcome
- The topic ‘can’t delete taxonomy’ is closed to new replies.