Skip Navigation

[Resolved] Many parent posts linked to the same child posts

This thread is resolved. Here is a description of the problem and solution.

Problem:
Client wants to set up post relationships where many parents can be connected to many children, and vice versa.

In the current implementation of post relationships child posts can only have a single parent, and so many-to-many relationships need to be simulated with two one-to-many relationships.

Solution:
Types 3.0 and the related Toolset updates will add true support for many-to-many relationships.

Betas are currently available from the beta channel of the downloads page (wp-types.com/account/downloads), and release candidates for the final version are imminent.

This support ticket is created 6 years, 8 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 2 voices.

Last updated by Stina 6 years, 8 months ago.

Assisted by: Nigel.

Author
Posts
#655615

Tell us what you are trying to do?

I'm setting up a system for making good looking offers.
One post type for offers and one for typs for specification of the offer.
I want to link each offer to the specifications that suits that offer.
So it's one offer to many specification, but the specification can have many partents.

This system will be used by the resellers through CRED forms, so it has to be easy for them to choose what specifikations they want to add to the offer.

What is the link to your site?
spaobad.com

#655711

Maybe there is an other way of doing it? Not using parent/child, but links?
If so, how to make a view where we display not the links, but the content to the costumers?

#655725

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Stina

This sounds like a good candidate for using the current betas, which are nearing a production release.

The system of post relationships is significantly enhanced, including support for CRED forms which makes it easy to enable front-end users to connect existing posts to each other or add new connections.

Take a look at the updated documentation here: https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/

We should have release candidates published next week and after a couple of weeks of QA testing be able to finally publish the stable versions, so if you are starting a new project with post relationships it makes sense to try out the new versions which you can get from the beta channel of your downloads page: wp-types.com/account/downloads

Read through the documentation, and if you have a particular question, let me know.

#655728

Thank you, I'll try that.