• Resolved yourbudweiser

    (@yourbudweiser)


    When adding a new CPT, my custom taxonomy displays the Parent category and the Child category in hierarchical order. When editing an existing CPT, the Parent category only displays the selected Child category in hierarchical order. All other child categories that belong to this parent are displayed as Parent categories.

    Correct:
    Parent 1
    – Child 1 A
    – Child 1 B
    – Child 1 C
    Parent 2
    – Child 2 A

    Incorrect:
    Parent 1
    – Child 1 A
    Parent 2
    – Child 2 A
    Child 1 B
    Child 1 C

    Custom Post Type UI 1.5.5.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not quite sure where in the UI you’re seeing this, but I have to wonder if the order type, say “order by ID” or “order by date added” is playing a part in this. CPTUI doesn’t have any settings or purposeful influence on this type of thing, so I have to believe it’s just how WordPress works.

    Only idea I have is perhaps the Child 1 B and Child 1 C don’t have the parent term set properly, despite the name provided for the term.

    Thread Starter yourbudweiser

    (@yourbudweiser)

    I am seeing this when I edit an existing CPT, in the meta box for my custom taxonomy. For this post, the parent / child relationship is correct but all the other children that should be under the parent are not. Parent terms for all children are set correctly.

    Correct parent/child
    https://pasteboard.co/GLSavmp.jpg

    Children should be under the parent but aren’t
    https://pasteboard.co/GLSbl8P.jpg

    Terms
    https://pasteboard.co/GLSbQpR.jpg

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Gotcha. Sadly I don’t have an answer for you. CPTUI’s plugin code doesn’t do anything in regards to the metabox there, so something is likely going on elsewhere within the install.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Parent Child Taxonomy Order’ is closed to new replies.