Support » Plugin: ACF Post-2-Post » Many to many

  • Hi, how we can achieve bi relation “many to many”?

    Currently I see only option “one to many”.
    For example: “When I saving post ID1 with relations to [ID2, ID3, ID4]”. I in posts [ID2, ID3, ID4] seeing relation only to ID1. So problem is how to create automatically bi relation from only one place, by saving just one post ID1.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Huebner

    (@hube2)

    What you want cannot be done with this plugin and is outside of the intended scope of this plugin.

    This plugin will only create the 2 way relationship between the current post and the posts you add in the relationship field. It will not create 2nd level relationships. These would need to be created between those posts by editing posts 2, 3 and/or 4 etc.

    Okay, thanks.

    Maybe You can give some idea, of action name where I can put some code to achieve my goal?

    Plugin Author John Huebner

    (@hube2)

    I’ve given it some thought and I haven’t been able to think of a way to do what you want, at least not without ending up in an infinite loop. I would suggest asking your question on the ACF forum and maybe one of the other users there will be able to help you. https://support.advancedcustomfields.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Many to many’ is closed to new replies.