Create nested Custom Types

Support General Create nested Custom TypesResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34557

    Hello!

    We have a structure where the parent object has some inside objects in a list, with random quantities.

    For example:

    [ { children: [
        { },
        { },
        { },
      },
      { children: [
        { },
        { }
      }
    ]

    And we want to reproduce this structure on WordPress with MetaBox.
    We need the inside objects of the children to be visible, and Relationships does not help us cause only the ID of the list of objects are referenced.

    It would be awesome if we had some Groups on our Custom Types that we could add more if that was the case.

    Is there any options that can help us with our problem?

    Thanks in advance.

    #34568
    Long NguyenLong Nguyen
    Moderator

    Hi,

    I think the group field will help you in this case. Create a group with more sub-groups inside.
    https://docs.metabox.io/extensions/meta-box-group/

    #34584

    Thank you. The problem was that we were not using the clone attribute.

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