• Resolved badalsolanki

    (@badalsolanki)


    i have created Farmers Post type for managing farmers data in wordpress.

    now i want to create hierarchical taxonomy as below:

    ->state ->district ->g.panchayat ->village ->farmers

    Please suggest me how to create hierarchical taxonomy as above and how can i managed all data under one post type.

    • This topic was modified 2 years, 5 months ago by badalsolanki.
    • This topic was modified 2 years, 5 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    There should be a true/false dropdown when editing the taxonomy settings that sets it to hierarchical. After that, your example above would be a case of about “five generations” of terms each with the parent above them.

    Not sure what the taxonomy is in this case, possibly something like “geolocation” or similar.

    Thread Starter badalsolanki

    (@badalsolanki)

    Thanks you @tw2113 . i already implemented same solutions as you suggest. i thought we can established hierarchical relationship between taxonomies type also, but that’s not possible.

    • This reply was modified 2 years, 5 months ago by badalsolanki.
    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Ahh, gotcha. Yeah this is just for terms within a single taxonomy. WordPress doesn’t allow for hierarchies between taxonomies and the terms within each.

    For example if you had a taxonomy of Genre, and then also a taxonomy of Director, you wouldn’t be able to make a Director term of “Steven Spielberg” and a Genre term of “Musical” and have them play together, also because Spielberg doesn’t do musicals that I know of ??

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