I have 2 custom post types. Locations and Contacts. When people are creating a new Location I’d like them to be able to either
- Select one or more Contacts from a list (presumably a Relationship field in a repeater) OR
- Create one or more Contacts
On save, it will create 0 or more new Contacts, and create 1 or more Relationships.
How can this be done?
I found a public add-on that does exactly what I’m asking. But I’d still be curious what it would take to make it happen without this add-on or if anyone has any hacky workarounds.
There is no solution to this other than the add on you found, assuming that you are talking about https://wordpress.org/plugins/quick-and-easy-post-creation-for-acf-relationship-fields/ or the premium version.