• Hi there,

    First of all, let me start by saying that I love this plugin!

    I have spent quite a few hours trying to work out how to display terms hierarchically to no avail. I was hoping you could provide some help with this.

    When user edits their profile and clicks on the field, all terms of the custom taxonomy are shown, but there is no regard for descendants being grouped under their parent term, which makes it a bit confusing for the user to choose the terms.

    I tried the following change to the function edit_field_options_html() located at src > field-types > class-field-type-multi-select-taxonomy.php > line 87:

    $terms = get_terms( $taxonomy_selected, array( 'hide_empty' => false, 'orderby' => 'term_group' ) );

    I was hoping that ordering by term_group would do the trick but it did not work. Do you have any suggestions to fix this?

    Thanks,
    Isabel

  • The topic ‘Custom Taxonomy Multiselector: display terms in hierarchical order’ is closed to new replies.