Hi, on hidden link
I made a slider what displays 1 custom field "foto" and the postlink.
I made a view in a view but now I see only one image, repeating.
When I don't use the view in a view, I see a nice slider with differtent pictures, but not only the latest post from a user.
there are 28 users and I want to show only the latest post.
You want the slider at the top of the page to iterate across all 28 users and, for each user, show their latest post, is that right?
I assume you are working with the legacy editor.
You need an outer View which queries the users, which you set up as a slider.
In the output of that View you add a nested View to show the latest post of the "current" user, where the current user is set by a post author query filter with the setting "Post author is set by the parent User View". That View also needs a limit of 1, so that only the most recent post is returned.
That's the basic set up, if you have something similar that is not working perhaps you can give more specific details of how it is set up.
I reviewed the two views and made the following changes and the slider is working now:
1. The view "Home meest recente artikelen":
This parent view was set to show the 'Artikelen' posts. But I changed it to show the 'Antiquairs' posts because, at the parent/first level, we need to get the list of authors.
2. The view "1 Foto in band per antiquair":
In this child view, we need 1 article post from each author coming from the parent view's loop.
The "Artikelen" post type was correctly set in the content selection settings. But, there was no query filter added to limit the posts by relationship.
I added a post-relationship query filter, to show only posts connected to the current post in the loop with respect to the 'Antiquairs Artikelen' relationship.
( screenshot: hidden link )
In this same view, I also removed the 'no items found' message ( screenshot: hidden link ) and enabled the checkbox for the setting 'Disable the wrapping DIV around the View', under the "Loop Editor" section. This is needed to ensure that the child view's output only includes the necessary code for the image link, without any extra HTML.
I hope this helps and please let me know if you need any further assistance around this.