Archive layout objects links right but the content in the single layout are the same in all links

Hi
I suppose I’ve made some misstake in my loopers, but I cant find the fault.

I have made an archive page based on a fild group in ACF Pro. The archive page looks perfect and when I hoover over each object I can see that it links to the correct post. The click also takes me to the right url for the post. But the content in the single post are the same (the latest post I’ve added), regardless of which link I click on the archive page.

I have set the conditions in the single layout to “Post type is Case study (the name of the AFC field group)”.
There are two columns where all content from the ACF group is displayed. These columns have both a Looper provider and a Looper consumer. See the settings in the attached screenshot.

The preview singel layout page looks great, but I cant get it to display different content on front side, just the same contet from the latest created post. What have I done wrong?

Best regards
Bengt

Hello Bengt,

Thanks for posting in! Please be advised that on single layouts, you do not need to use Looper Consumer to display the post title and post contents. You can use the preview assignment to load the post type or page you want to preview.
image

I have disabled your Looper Provider and Looper Consumer. Check your case studies now.

Cheers.

1 Like

Perfect!

Thank You @ruenel

All the best to You!