Skip Navigation

[Resolved] Filtre Publication parent

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

Problem:

Setup a view with post type relationship filters.

Solution:

Follow our document to setup the filters. See the solution:
https://toolset.com/forums/topic/filtre-publication-parent/#post-909650

Relevant Documentation:

https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

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

Last updated by Luo Yang 6 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#908969
3.jpg
2.jpg
1.jpg

Hello,

I want tu use a view in a view (with Filtre Publication parent) but it doesn't work.

My parent view is "Vue liste programmes clients" and i have put this shortcode [wpv-post-body view_template="Bloc programme"] and you can see screen shot.

My chield view is "Présentation du programme" and i have added a filter publication parent and it is written " This will filter out posts of the following types, because they are not hierarchical: Programmes"

I don't understand what is the problem.

Thanks a lot.

#909195

Hello,

Your screenshots are not in English, so it is hard to find the problem.
I assume we are talking about a post type relationship filter, please try to add a filter:
Filter by post relationship or repeatable fields group owner

See our document:
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/

Screenshot:
hidden link

#909267

Hello,

I don't talk about post type relationship filter but about a view in a view as i have written. And i have already read your documentation...

#909295

Since your screenshots are not in English, to avoid more misunderstandings, check these:

1) deactivate other plugins and switch to wordpress default theme, and test again
2) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, also point out the problem page URL and problem VIEW URL, I need to test and debug it in my localhost, thanks

#909306

I have just Toolset plugin.

I think it is not a bug it is because i don't how to do.

So is the view where i call my 2nd view : hidden link with this short code : [wpv-view name="presentation-du-programme"]

And it is the url of my 2cn view : hidden link

#909650

Thanks for the details, here is what I found in your website:
1) You are using beta version of Toolset plugins, I suggest you update them to the latest stable version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In the Child view "Présentation du programme",
hidden link

I have modified these:
1) In section "Sélection de contenu", choose option " Lots"
Change the filter to:
Select posts in a Programmes Lots relationship, that are a related to the current post in the loop.

Add a page to test the result:
hidden link

#910727

Yes it is perfect. Thansk a lot.

#910897

You are welcome