Skip Navigation

[Resolved] Show two or more related posts

This support ticket is created 6 years, 6 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by Christian Cox 6 years, 6 months ago.

Assisted by: Christian Cox.

Author
Posts
#788164

Tell us what you are trying to do? I'm trying to have two or more parent posts (product-book- and author) for showing one or more authors in the product layout (separated by |) In screenshot: "Glez, Montero" is one parent post name and link, I need to be able to assign more than one.

Is there any documentation that you are following?
https://toolset.com/forums/topic/set-multiple-parents-to-a-child-automaticaly/
https://toolset.com/forums/topic/children-to-multiple-parents/

But not clear at all for me

Is there a similar example that we can see? Didn't found one.

What is the link to your site?
hidden link (closed for maintenance).

#788166
Screenshot (55).png

Sorry, forgot the screenshot

#788168

As long as each parent post is in a different post type, then this shouldn't be a problem. You can add parents from as many different post types as you would like. Just go to Toolset > Post Types and edit any post type to manage its parent and child post types.

However if multiple parent posts are in the same post type, then this isn't possible in a one-to-many relationship. For example, if two parents are in the post type "Libros" then that is not possible. You must create a many-to-many relationship instead.

#803304

Hello,

How do I create this many to many relationship?

#804153

We have documentation about many-to-many relationships in the current system here:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/

However, we are in the process of rolling out some updates to this feature. You can see more about that here:
https://toolset.com/documentation/post-relationships/
The Release Candidate versions are now available in your account downloads area by switching to the "Beta" channel instead of "Production". We will include these new changes in the stable plugins very soon, so it's a good idea to understand the new system.

Another idea - use a custom taxonomy to link posts. Instead of a post relationship, you can use taxonomy terms to relate as many posts as you would like. Then create a View filtered by that taxonomy to show other related posts.