Can not delete Post Types
-
I am unable to delete Post Types that I accidently added. Please advice!
-
If the slugs had spaces or special characters in them, then there’s going to be a mismatch in the php array indexes, which would be why you’re struggling.
If you can paste your Import/Export page content for the post type tab, I can help remove the offending posts types. Afterwards, you can re-import the data and continue on from there.
{“job_varaktighet_taxonomy”:{“name”:”job_varaktighet_taxonomy”,”label”:”Varaktighet”,”singular_label”:”Varaktighet”,”hierarchical”:”false”,”show_ui”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”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”:””},”object_types”:[“resume”,”job_listing”]},”job_erfarenhet_taxonomy”:{“name”:”job_erfarenhet_taxonomy”,”label”:”Erfarenhet”,”singular_label”:”Erfarenhet”,”hierarchical”:”false”,”show_ui”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”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”:””},”object_types”:[“job_listing”]},”job_kortkortskrav_taxonomy”:{“name”:”job_kortkortskrav_taxonomy”,”label”:”K\u00f6rkortskrav”,”singular_label”:”K\u00f6rkortskrav”,”hierarchical”:”false”,”show_ui”:”true”,”query_var”:”true”,”query_var_slug”:””,”rewrite”:”true”,”rewrite_slug”:””,”rewrite_withfront”:”1″,”rewrite_hierarchical”:”0″,”show_admin_column”:”false”,”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”:””},”object_types”:[“job_listing”]}}
As you see, by mistake I imported the taxonomies as post types.
So you accidentally imported taxonomy settings into your post type spot?
If you simply need to delete this option so you can wipe it all clean, just import
{""}and it should remove the option from the database and start you with zero post types.Thanks! 🙂
Welcome
The topic ‘Can not delete Post Types’ is closed to new replies.