Hi,
I have created a custom post type and created a template to show single items using Elementor Pro.
To include repeating fields and a map I have created 2 seperate views to include these in Elementor. Other data is pulled using dynamic tags in Elementor
Everything is displayed correctly when all fields are filled in. However, when the first view (repeating fields) returns no data, the 2nd one (map) is also empty.
Both views use a query filter "Select items in any relationship as related items of..." The post where this View is shown
Am I missing to link the view-map to the custom post?
Thank you for getting in touch. Could you send me a couple screenshot of the following.
1. The repeatable fields on the backend on the post itself.
2. The query filter of the view.
3. How the view was inserted into the template.
Once you have provided this we can take it from there, however I may need a copy the site but I will let you know based on what I can find in the screenshots.
In the meantime I've made the site available online so I can give you access if needed.
This is an example of a working page: hidden link
This is an example of a page where the map is not showing even though data is available: hidden link and data for the repeating fields is not filled in (Openingsuren = Opening hours)
There are no relationships for the view to pick up. If you look on the backend hidden link
You will see that this post has no repeatable fields added to it nor is it connected in any relationship.
This is why your views are displaying the No Results Found.
If you were to create a relationship and add some repeatable fields then your view should display the relevant data.
Given that it works perfectly fine on this page here. hidden link
Also for the Map I've adjusted it so that it gets the Address from the current post being viewed. You will need to go ahead and set back the elementor section to be full width.