Home › Forums › Backend Issues (wp-admin) › Relational Field: Can I get a field from another CPT? › Reply To: Relational Field: Can I get a field from another CPT?
Hi @rafael401
I don’t think you need a post type for rooms.
Just have a post type for buildings and renters. Then connect a renter to a building with a ‘metadata’ of ‘room’ = ‘whatever’.
Because the connection information is setup in your functions.php, you could dynamically create the room choices!
Hope that helps.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.