I'm trying to create an archive page using toolset which set to display the Buildings CPT.
I have the following relationship hierarchy:
States > Cities > Developments > Buildings
Instead of displaying only the Building posts, I would like to group it by their parents. I have nested View created with all the items generate in their respective loop.
How can I display it in the archive page without the Loop as the loop is unnecessary now in the archive page? When I deleted the <wpv loop>, the error "The Loop cannot be saved because some required elements missing..." popup and preventing me from saving.
Hi,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct and the "Loop Editor" section expects the presence of "wpv-loop" tags and without it, it doesn't allow to save the view and shows that error.
Since you don't need to show anything from the current archive's original loop, you can leave that tag intact, but just don't include, anything in between:
As for the other nested view, it's shortcode can be added right after the opening "wpv-layout-start" shortcode ( [wpv-layout-start] ).
I hope this helps and please let me know if you need any further assistance around this.
regards,
Waqar
My issue is resolved now. Thank you!