Skip Navigation

[Resolved] Creating sibling relationship within custom post types

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

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 Suzanne Wenger 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#578018

Tell us what you are trying to do?
Create a sibling relationship between two posts within the same custom post type. This will allow me to show a "complementary" post to a site visitor when he or she is viewing another post. For example, if a user is reading a news post, I want to be able to suggest other similar news posts. Or if a user is viewing an education degree page, I want to suggest other complementary degrees to the user.

I would need to be able to setup a sibling relationship option within the Edit window of the custom post type. There would be a field in the post type edit window that would allow me to choose one or more post within the same post type to establish a sibling relationship. I would then add the sibling relationships to my content template which would populate complementary options when the post loads.

The sibling relationship would work well, because once established then the two custom posts would be linked and on either post page a link would be provided to view the other post page.

I'm sure you've gotten requests for this, but I couldn't find documentation on it or a good support post to address this issue from the Edit window in a custom post.

My site is: falk.syr.edu

#578082

Dear Suzanne,

In your case, it needs to setup many-to-many relationship between posts of same post type, it is a built-in feature of next version of Types plugin 2.3, see our blog post:
https://toolset.com/2017/09/first-beta-of-types-2-3-with-post-relationship/

Our developers are still working on it, but there is a beta version you can test:
You can get this beta from your Toolset account. Click on Downloads, switch the channel to Beta and download Types 2.3 beta.

This is barely a beta version. It’s only intended for testing purposes and definitely not for any production or development site. Types 2.3 beta doesn’t even work with other Toolset plugins (yet).

#578192

Hi Lou,
Thanks for the quick response on this. I am looking forward to the new Types plugin to come out. It has a lot of valuable features. I will "hardcode" what I need for now until this comes out.

Thanks,
Suzanne

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.