Tell us what you are trying to do? Display Image Grid in Loop
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site? hidden link
Trying to display an image gallery in the loop. Using a Field Group inside the Custom Post Type. For the post linked above, only the top image is selected, but the output is pulling images from previous posts, on multiple lines.
Similarly, when trying to display an image gallery on a child post, the gallery is breaking on the page: hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
To troubleshoot this, I'll need to see how these galleries are set up in the admin area.
Can you please share temporary admin login details, in reply to this message?
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing these details.
I noticed that in your Divi template "Single Box Layout", you've added this shortcode, to show the gallery through the view "Box Image Gallery":
[wpv-view name="box-image-gallery"]
But this view shows the individual galleries from all "Box" posts and not just the current "Box" post.
To show only the current box post's gallery, I've replaced that shortcode, with the shortcode to show only that view's content template "loop-item-in-box-image-gallery":
[wpv-post-body view_template="loop-item-in-box-image-gallery"]
Similarly, in the Divi template "All Activities", the shortcode was added to show the gallery through the view "Activity Image Gallery":
[wpv-view name="activity-image-gallery"]
But this view shows the individual galleries from all "Activities" posts and not just the current "Activity" post.
To show only the current activity post's gallery, I've replaced that shortcode, with the shortcode to show only that view's content template "loop-item-in-activity-image-gallery-2":
[wpv-post-body view_template="loop-item-in-activity-image-gallery-2"]
Now, on both these post types, only image galleries from their own fields are showing.