Plugin and Structure Recommendations

Support MB Relationships Plugin and Structure RecommendationsResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23558
    Bret CarmichaelBret Carmichael
    Participant

    Hi All,

    In the MB 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! 🙂

    #23568
    Long NguyenLong Nguyen
    Moderator

    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.

    #23573
    Bret CarmichaelBret Carmichael
    Participant

    Terrific. Thank you for your suggestions Long!

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