Skip Navigation

[Resolved] Changing non-hierarchical taxonomy to hierarchical

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#589445

Hi,
I would like to know if it is save to edit an existing(being used) non-hierarchical taxonomy to a hierarchical taxonomy. I mean, will all the settings and existing terms stay untouched? Can i expect any errors?

Thanks,
Robbert

#589599

Hi, I would not expect errors when modifying a taxonomy from flat to hierarchical. All the options you have chosen in the Taxonomy editor will remain the same. All the term slugs and term IDs will remain the same, and all the associations between terms and posts will remain intact. If you have any custom code in place that tests is_taxonomy_hierarchical(), then you can expect it to reflect the new hierarchical status. If you have any Views with taxonomy parent-based filters, you should be aware that your ex-flat taxonomy terms may now have a parent. So it's always a good idea to back up your site completely before making a change like this, just to be safe. Then you can revert quickly if necessary.

The forum ‘Types Community Support’ is closed to new topics and replies.