Skip Navigation

[Resolved] Relationship many to many

This support ticket is created 4 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

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 3 replies, has 2 voices.

Last updated by kellyR 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1534807

I would like to know how to get the relationship selector to show properly within th edit form.
I've searched the documentation and Tech Support but could not find a specific answer.

I have 2 post types 'business' and 'person'.
I created a many to many relationship with a 'role' custom field.
If I open the WP editor for either post type the relationship tool works perfectly.
Both post types indicate that thy are related in the back end.
But...
If I open the edit form (back end) for 'business' it shows I can add a "business parent", but a child is expected.
If I open the edit form for 'person' it shows that no relationship item is available at all.

My effort is to add a relationship selector to the edit form for the post types on the front end.
Any idea why the selections aren't found in the back end form editor?
I am doing something wrong? It is a little confusing with all the possibilities.

#1535045

Hello,

For many-to-many post type relationship, you can not setup it within post form, you will need to try the relationship form, see our document:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/

#1537547

Thanks but I found the answer to my question.

#1537549

My issue is resolved now. Thank you!