Support

Account

Home Forums General Issues Sort Order field for each taxonomy assigned to a post

Unread

Sort Order field for each taxonomy assigned to a post

  • Hi all;

    I’m creating a staff page: https://divipaint.wpengine.com/about/about-aca/staff/

    Right now, each staff member has a “sort_order” field.

    However, it turns out that some staff members might be listed in multiple teams.

    Therefore, I need a “sort_order” for each taxonomy assigned to the post.

    I’d like to do this with ACF as I already rely on it heavily in the code.

    The “dumbest” way I can think to do this would be to create a different field group for each taxonomy, and conditionally show it if that taxonomy is assigned.

    That would work, but that’s a lot of Field Groups, and it would be a pain in the butt to ever update if we add or subtract or rename teams.

    Is there any eater way to add fields to a post depending on / for each taxonomy assigned?

    tl;dr: What’s the easiest way to add a field for each taxonomy assigned to a post?

Viewing 1 post (of 1 total)

The topic ‘Sort Order field for each taxonomy assigned to a post’ is closed to new replies.