Home Forums ACF PRO Images Conditional on Term


Images Conditional on Term

  • I have a custom post type Vendors and custom taxonomy, Vendor Categories. A Vendor can be in multiple Vendor Categories and will have a different image for each Vendor Category.

    Each Vendor Category has its featured image, but each Vendor has an image for each of the Vendor Categories it is assigned.

    Acme Co is in Widgets, Explosives, Desert Survival. For each category, Acme has an image:

    I can create a Field Group conditional on selected terms so that an image selector is displayed for each selected Vendor Category. However, I would need to create a Field Group for any future Vendor Categories… and this just seems like a clunky solution.

    Is there a better way to (dynamically?) create an image field for each selected category? Can I use a single Field Group for this?

    Thank you

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.