• Resolved mrprainx

    (@mrprainx)


    Hello. I’ve create and then delete a custom taxonomy called “Settori”.

    But even after deleting it, the custom taxonomy is still there. Both in the menu and in the post editor.

    Screenshot 1: HERE
    Screenshot 2: HERE

    You will see 2 “Settori” taxonomy because I’ve the create another taxonomy with a different slug and different features.

    Thank you.

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

    (@tw2113)

    The BenchPresser

    Can you visit the “Tools” submenu item for CPTUI and copy/paste the right hand textarea content from the “Taxonomies” tab? Curious if some unexpected/stray/strange characters are in place in the slug that are causing the delete process to not match up properly.

    Thread Starter mrprainx

    (@mrprainx)

    Here it is:

    {"paesi":{"name":"paesi","label":"Paesi","singular_label":"Paese","description":"","public":"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":"false","show_in_quick_edit":"","rest_base":"","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":""},"object_types":["causes"]},"settori":{"name":"settori","label":"Settori","singular_label":"Settore","description":"","public":"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":"false","show_in_quick_edit":"","rest_base":"","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":""},"object_types":["causes"]}}

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hmm,

    I was able to delete the one just fine from what I imported with the data above.

    I also noticed that it only had one instance of “settori” in there.

    https://cloudup.com/cXRILho-Zve

    Is it possible you’re registering a taxonomy in a different place like functions.php and forgot about it?

    Thread Starter mrprainx

    (@mrprainx)

    Yes I was, actually!

    Thank you Michael.

    I had some lines for the taxonomy in the functions.php file that I totally forgot about.

    Thank you again.

    Best regards.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Huzzah! Welcome ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Unable to delete a custom taxonomy’ is closed to new replies.