Skip Navigation

[Resolved] Taxonomy not displaying correctly in drop down

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

Problem: I have a flat taxonomy that is showing as a hierarchical taxonomy in a custom search filter.

Solution: Switching it to a Flat taxonomy after term hierarchy has been established can result in this type of problem. One way to solve this is to switch back to a Hierarchical taxonomy (go to Toolset > Taxonomies and edit this custom taxonomy), then edit each of the terms that show up as indented child terms. Deselect the parent term from each of these and resave the terms. Then switch back to a Flat taxonomy once more.

This support ticket is created 6 years, 3 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
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 2 replies, has 2 voices.

Last updated by cindyB 6 years, 3 months ago.

Assisted by: Christian Cox.

Author
Posts
#1074201

I am trying to: Have all of my "Teachers" be in the drop down w/o some of them looking like they are a "child".

Link to a page where the issue can be seen: hidden link

I expected to see: All teachers listed w/o indention.

Instead, I got: I set up a search with a drop down for teachers. When I have multiple teachers they show up in hierarchy fashion. I.E. indented. I selected teachers to show up as a flat item. Please advise

#1074427

Hi, is it possible that this was once a hierarchical taxonomy? If so, switching it to a Flat taxonomy after term hierarchy has been established can result in this type of problem. One way to solve this is to switch back to a Hierarchical taxonomy (go to Toolset > Taxonomies and edit this custom taxonomy), then edit each of the terms that show up as indented child terms. Deselect the parent term from each of these and resave the terms. Then switch back to a Flat taxonomy once more.

If that's not the problem here, and you are not able to resolve the indentation, I'll need to take a closer look.

#1076024

Thanks so much, Christian! That hit it right on the nail!