Skip Navigation

[Resolved] Hierarchical Taxonomies are not respecting the tree when updating post

This thread is resolved. Here is a description of the problem and solution.

Problem:
When I edit a Post and add some Terms (hierarchical taxonomy) the Hierarchical Tree is not respected after updating.
The Selected Terms are now not anymore figuring as Child Items of it's parent.

Solution:
This is a BUG in WordPress.
Toolset can not solve this.
https://wordpress.org/support/topic/weird-ordering-of-parentchild-meta-checkboxes

This support ticket is created 7 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by Julián Díaz Moreno 7 years, 10 months ago.

Assisted by: Beda.

Author
Posts
#400649
problem-with-child-values-custom-taxonomy.jpg

I am trying to: Create a custom Taxonomy (hierarchical)

I visited this URL: https://toolset.com/documentation/user-guides/create-custom-taxonomies/

I expected to see: The child values of the taxonomy inside (indent) above its parent value.

Instead, I got: In the admin panel, when creating the values (parent) and child values for the custom taxonomy, there's no problem, and everything behave as expected.

But when editing a Custom Post Type and assigning the values for this custom taxonomy, some (not all) of the child values appear "outside" (not indent) above the corresponding parent value. Specifically, the "incorrect indent" child values are: "Agricultura", "Comercio", "NTIC", "Pesca" and "Servicios") and their parent value is "Sector empresarial". Only when I checked the values they fits correctly (indented) above the corresponding parent value (as you can see in the screenshot with the child values "Industria" and "Turismo")

#400775

That's a WordPress BUG.

This also happens with the native Category taxonomy and it is indeed a problem in the WordPress core GUI itself, not something we do ourselves. We can not do anything to change this

Can I help you further?

Read more here:
https://wordpress.org/support/topic/weird-ordering-of-parentchild-meta-checkboxes

#401703

Hi Beda!,

thanks for the explanation and the support, all clear now 😉

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.