I have a Repeat Group, and I know in order to show it on the frontend, I need to create a Views for this Repeat Group, and I have created Views for it.
In my Single page, after adding [wpv-view name="display-room-info"], the page looks and works fine,.
However, when I add this [wpv-view name="display-room-info"] to in the Loop Item of another Views, it shows "No items found" on the frontend.
I know adding Views in another Views is doable, but I just don't know why it's not working for me.
How do you setup the another Views?
How do you setup the post types and Repeating field Groups?
I assume we are talking about this:
1) A custom post type "Room"
2) In above post type "Room", there is a Repeating field Group "Room info"
3) Inside Repeating field Group "Room info", there are some custom fields.
And you are going to setup a post view, display "Room" posts, and display each "Room" post's "Room info"
If it is, it is possible with a nested view, for example, you can try these:
Create a new post view "Room posts":
- Query "Room" posts
- Within Views loop, display your view's shortcode:
[wpv-view name="display-room-info"]