Skip Navigation

[Resolved] Linking Envira Albums per relationships

This support ticket is created 3 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#1601199

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

#1602211

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

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

#1603409

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.