Skip Navigation

[Resolved] nested posts relationships views

This support ticket is created 6 years, 7 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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

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

Assisted by: Christian Cox.

Author
Posts
#627057

Hi Christian,
I just tried to create a new post but something does not seem to work.
In the following post

hidden link

I created the relationship with only one STUDIO and only one ARCHITECT but the page displays one studio with all 3 architects instead only one studio with one architect.

also on this page where there are 2 studios and some architects within each studio, we find very strange results.

hidden link

What could be the problem? Could you please check both posts in the backend?

Thanks,

Franco

#627145

I will look at the views to see what I did wrong... (do you have any idea where I did the mistakes?).
Sorry, the language difference is confusing for me so I just started new Views instead of trying to correct the old ones.

The only thing I have to change is that I need both the STUDIO and the ACRHITECT names to be linkable to their posts.
How can it be done?

Edit these Views:
hidden link
hidden link
In the Loop Output editor, you will find a wpv-post-title shortcode. You can replace that with a wpv-post-link shortcode to create a link to the post.

What could be the problem? Could you please check both posts in the backend?
I think the code in functions.php was not set up appropriately, because it used the English post type slugs "company" and "project" instead of "studio" and "scheda". I made the appropriate changes and I think it's working as expected now. Please check.

#627315

Hi Christian,
I tried some more examples and it seems to work now (I also added the links to the items).
I will do some more tests before closing this topic if you don't mind.

In the meantime thanks again for your great help.

Franco

#627445

Sounds great. I will mark this ticket as pending an update from you. There is no need to reply right now. The ticket will remain open for 30 days.