Skip Navigation

[Closed] Post Type Relationship "How to" – More Detail?

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 11 years, 10 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
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 2 replies, has 2 voices.

Last updated by David 11 years, 10 months ago.

Assisted by: Caridad.


I am bit confused by these 2 posts on how to create relationships between posts and how to use them?

I am creating a video directory of commercials and would like to connect those videos (posts) with the agency that produced them (CPT). On the individual video post, I would like to show the agency. On a custom view template for the agency, I would like to embed a view of all of the videos they produced.

Should I use a taxonomy? Should I just make the videos a child of the studio type and use the second tutorial above?

I tried the later but the views do not show anything.



Dear David,

You are going in the right direction and both tutorials apply to what you want to do. I think you chose right in using CPT for Agencies because you will have custom fields for Agencies.

In the Video Content Template, follow this guide to show parent fields:

And in the Agency Content Template, you can include a View View as explained in the first tutorial you linked.

Try it and let me know any specific problems that you find.



It worked! Thank you.

Although half of the problem was that I had the relationship reversed. Once I made the agency the worked like a charm.

The topic ‘[Closed] Post Type Relationship "How to" – More Detail?’ is closed to new replies.