• I have several hierarchical taxonomies and I can only display the child values On my pages. It seems that your plug in will enable me to select a parent value to store in one field and then allow the user to select a child value for storing in a second field. Is this correct? Or does your plug in deal with this issue in a different way. I have been all through your web site looking for answers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    I’m not quite sure to understand your question tho. Can you please share a screenshot example of what you’re trying to achieve?

    What seems to be the closest solution is the Taxonomy Terms field, which let you display only specific level child terms, or all childs terms of a specific parent. It can render either a checkbox, a select or a radio.

    See screenshot: https://i.imgur.com/2QaDIBs.jpg

    Hope it helps!

    Have a nice day!

    Regards.

    Thread Starter awjensen

    (@awjensen)

    I will try to be more explicit. I have a hierarchical taxonomy called “classification.” I want to create two fields: the first is a taxonomy field where the user can only select a parent classification. The second is also a taxonomy field where the user can only select a child classification of the classification selected in the first field. I don’t know very much about coding and so I am hoping this can be solved with a plugin out of the box.

    Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Unfortunately that’s not a feature available in the plugin right now. That behavior is very advanced, so I’m not sure that you’ll be able find any plugin/solution doing it without any code.

    There’s a possible workaround tho, if you don’t have too many Top-Level Terms. ACF has a feature called Conditional Logic which let you display a field conditionally, based on an another Field value.

    In your case you could have one main “Top Level Categories” field and multiple other “Child Categories” fields which would be only displayed conditionally, based on the “Top Level Categories” selected value.

    That model would be sustainable if you don’t have too many Top-Level Categories, since you’ll have to create one “Child Categories” field for each “Top-Level Categories”.

    Model example:

    +------------------+---------------------+---------------------+---------------------+
    | Field: Top-Level | Field: Cat 1 Childs | Field: Cat 2 Childs | Field: Cat 3 Childs |
    +------------------+---------------------+---------------------+---------------------+
    | Cat 1            | Subcat A            | Subcat D            | Subcat G            |
    | Cat 2            | Subcat B            | Subcat E            | Subcat H            |
    | Cat 3            | Subcat C            | Subcat F            | Subcat I            |
    +------------------+---------------------+---------------------+---------------------+
    

    As you can see in this example, there is 3 “Child Categories” fields because there is 3 Top-Level Categories (Cat1, Cat2, Cat3). Each “Child Categories” fields having the Conditional Rule if(Top Level Category == ID).

    If you have the possibility to work with a developer, I wrote a script that let you have 2 dependent select fields choices here.

    Hope it helps!

    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hierarchical taxonomy’ is closed to new replies.