Custom Fields
Re-Envisioned
Support MB Relationships Relationships metabox in group metabox

  • Creator
    Topic
  • #9054
    nerm
    Participant

    Hi
    This is a great addition to the extensions and is saving me a lot of time and code 🙂
    Is there a way of adding the relationships metaboxes to a cloneable group metabox?

    I am currently building a Product Tech centre site which the rel’ MB is perfect for cross linking info across cpt’s (posts, pdf’s & FAQ’s) The FAQ’s cpt uses Group MB for Q’s & A’s to create accordion style display pages. It would be great to be able to include rel’ MB’s within the Q & A cloneable group! Is this possible at all? I can’t see how but..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #9066
    Anh Tran
    Keymaster

    Hi,

    Can you give more details of the problem? Which objects do you want to build relationship between?

    #9071
    nerm
    Participant

    I have a cpt called faq’s, each post has a metabox clone group to add multiple questions and answers. Rather than add relationships to another cpt’s posts to the entire faq post I would like to add relationships to the individual cloned groups Q & A:

    Q:What is the average air speed velocity of an unladen European swallow?
    A:about 24 miles per hour or 11 meters per second.
    Related Article: European swallows

    Q:Do Coconuts migrate?
    A:Sed ut perspiciatis unde omnis iste natus error sit voluptatem laudantium.
    Related Article: African swallows

    #9080
    Anh Tran
    Keymaster

    I got it.

    I think in this situation, the best solution is using post field. It works the similar way and works well with groups.

    Technically, because it’s inside groups, the data will be saved in groups. So it can’t be saved in the relationship table (where the relationships are saved).

    #9084
    nerm
    Participant

    Doh!

    Of course, sorry lol!

    Many thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Relationships metabox in group metabox’ is closed to new replies.