Custom Fields
Support MB Relationships Plugin and Structure Recommendations

  • Creator
  • #23558
    Resolved Bret Carmichael

    Hi All,

    In the Meta Box Builder, I have a drop-down selector for Office. Based on the office someone choose, say Metropolis, I want to display fields about the Metropolis office in a post. For example, the Metropolis office will have a street address, telephone number, state, etc.

    It is correct to accomplish this by creating a CPT for Office, doing a post for each office, like Metropolis, and using the Relationships extension to establish the relationship on the office element, injecting the data with short codes?

    Thanks for your suggestions! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #23568
    Long Nguyen

    Hi Bret,

    I think you can create two CPTs, one is Office with posts office1, office2 …, the other is Metropolis with posts metropolis1, metropolis2 …

    Create custom fields street, phone … and assign them to the CPT Office in the Builder. Connect one or more Office posts to a Metropolis post by MB Relationships.

    Bret Carmichael

    Terrific. Thank you for your suggestions Long!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.