Skip Navigation

[Resolved] Repeater field does not let me add Post relationship

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by camila 1 year, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#2611733

Hi, I have a repeater field that I am using on a CPT, and I need one of the fields inside the repeater to be a Post Relationship because the data needs to be connected to another CPT. I do not see the option to do this.
Can you please help?
Thanks.

#2611821

Hello,

I assume we are talking about custom repeatable field groups.
If it is, the custom Post Reference Field can not be placed into a Repeatable Group.

In your case, you can consider two one-to-many relationships, for example:
1) Setup three post types:
- CPT 1
- CPT 2
- Child CPT

2) Setup two one-to-many relationships:
- one-to-many relationship between "CPT 1" and "Child CPT"
- one-to-many relationship between "CPT 2" and "Child CPT"

You can use "Child CPT" as the repeatable field groups, it should be able to work same results.

#2612677

Ok thanks for getting back to me.