> But that's exactly what puzzles me: in the gyms example, the list of opening hours is
> *also* a repeatable field, and it *is* displayed very simply inside the archive/all posts
> page (on top of the single post page) without any need to "re-use" anything.
- I've searched through the "Gyms and Trainers" demo website, but couldn't find any archive or page, that is listing multiple "Gyms" posts, and also lists their related "Opening Hours" from the repeatable field groups.
hidden link
The related "Opening Hours" entries are showing for each "Gym" on the single Gym post pages, for example:
hidden link
hidden link
hidden link
If you can share a link to any archive or page, where multiple Gyms are showing along with their opening hours (all on the same page), please share it with me.
I noticed that in the field group "Groupe de champs pour Disques", the repeatable field group named "Récompenses obtenue" was added with an image type field "Logo récompense".
To make this new field, work from the view "View to show related Récompenses", I made the following changes:
1. In the query filter settings of the view, I selected the option "The post with ID set by the shortcode attribute: wpvrelatedto"
( screenshot: hidden link )
This is because, we want the view to use the 'CD' post whose ID is passed in the shortcode of the view, as a reference.
2. Next, I opened the content template for this view ( screenshot: hidden link ) and then selected the new "Logo récompense" field, in the Image block's settings ( screenshot: hidden link ).
As a result, the image logo from the "Logo récompense" field is showing for the CD post "L’Alchimiste – les Années de jeunesse" on its single page, as well as on the "Discographie".
hidden link
hidden link
When you'll add the repeating field entries for the other CD posts too, they'll start showing as well.