Hi there
We use views to display posts in a relationship with the current post. However, this only works partly - some posts are missing in the frontend. But it's pretty random, in same cases it works, in some it doesn't. I'm out of ideas why this happens. Maybe you can help us get those views up and running correctly.
I'll attach some screenshots.
Best,
Marcial
Hello,
How do you setup the post views and relationship filters?
Can you provide a test site with the same problem, fill below private message box with login details, also point out:
- Page/post URLs(Where I can check the results in frontend)
- Post view URLs
I need a live website to test and debug, thanks
Thanks for the details:
I have checked the post URL you mentioned above:
hidden link
1) section "Leitende Kompetenzzentren"
It is using post view "Leiter Kompetenzzentrum (Name & Link)":
hidden link
Above post view is filtered by relationship "Zugehörigkeit Leiter Lehrstühle zu Kompetenzzentren", and it does output two posts, same as in admin side:
hidden link
section "Zugehörigkeit Leiter Lehrstühle zu Kompetenzzentren"
Can you confirm it?
2) section "Leitende Kompetenzzentren"
It is using post view "Weiterbildungen eines Lehrstuhls":
hidden link
Above post view is filtered by relationship "Weiterbildungen von Lehrstühlen", there are some related "Weiterbildungen" posts are in draft status, and conducts the problem you mentioned above, I have done add a filter into above post view:
Select posts with status of publish or draft.
Please test again, check if it is fixed.
Or you can consider to publish those draft "Weiterbildungen" posts , for example:
hidden link
Hi Luo
Thanks for your feedback. I think the drafted posts are the issue. I wasn't aware they are still there. They were replaced with new versions that share the same name. I'll get back to you once I fully investigated this.
Thanks!
We were able to solve the issue. Thanks for your help!