Tell us what you are trying to do?
I'm attempting to make it so that when a post is made that is linked via relationships to an album, the album shows up. I'm not sure how to achieve this, as there is nothing in the Content Template or Views that seems to let me embed a general shortcode for the gallery. The one time it does pop up is when I try to create a new loop view and it places [wpv-post-field name="envira_album_slug"], but that doesn't seem to return anything on the front end.
Is there any documentation that you are following?
No, I have not been able to find any.
Is there a similar example that we can see?
What is the link to your site?
hidden link
Hi,
Thank you for contacting us and I'd be happy to assist.
I've noticed that you've created a relationship between Games and Envira Gallery post types. If you'd like to show related gallery through this relationship and the already created view "Related Albums", please make sure this view is set to show loop item output using a content template.
( screenshot: hidden link )
And in that content template, you can include the gallery shortcode like this:
[envira-gallery id="[wpv-post-id]"]
Note: The "wpv-post-id" shortcode will put the current gallery post's ID in the main shortcode.
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!