Support

Account

Home Forums Backend Issues (wp-admin) Populate a taxonomy field according to a field inside that taxonomy

Unread

Populate a taxonomy field according to a field inside that taxonomy

    • pjeaje

    • December 13, 2018 at 12:37 am

    Hear me out here as this gets complicated…

    I have a custom taxonomy called student. When I edit a student I have a field (which is another custom taxonomy) called school.

    I also have user profiles with the same school field in the edit screen.

    Now… what I want to do is in my field group, have the student field but only populate it with student terms that have the same school term as the current post author.

    e.g.
    student term “Sally” has the school term “XYZ primary school”
    student term “Billy” has the school term “ABC high school”

    Therefore, the student term “Sally” would only populate the student field (in a post) when the current author also has the school term “XYZ primary school” in their user profile.

    Does this make sense?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.